[Settings] Code refactor

1. Fix comments
2. Split test case

Bug: 147338143
Test: make RunSettingsRoboTests ROBOTEST_FILTER=DataUsageListTest
Change-Id: I017a3ac8a716e69eb4d9c3e30e20363a215563a2
This commit is contained in:
Bonian Chen
2020-01-08 17:29:36 +08:00
parent 65a0488e1b
commit 90cb45e31c
6 changed files with 22 additions and 12 deletions

View File

@@ -96,7 +96,7 @@ public class BillingCyclePreference extends Preference
}
/**
* Implementation of MobileDataEnabledListener.Client
* Implementation of {@code MobileDataEnabledListener.Client}
*/
public void onMobileDataEnabledChange() {
updateEnabled();