summaryrefslogtreecommitdiff
path: root/src/com/android/settings/development/MobileDataAlwaysOnPreferenceController.java
AgeCommit message (Collapse)Author
2018-12-12Set setting back to default when turning off dev optionFan Zhang
When turning off developer options, mobile data always on setting should be set back to default, which is ON not OFF. Change-Id: I257ba108976b05162fa3cea6e48f3490e9c64f80 Fixes: 119719605 Test: robotests
2018-08-28Sort importsFan Zhang
Having consistent import order will reduce chance of merge conflict between internal and external master Test: rebuild Change-Id: I0b1a170967ddcce7f388603fd521f6ed1eeba30b
2018-06-18Reorder and clean up imports.Fan Zhang
Test: rebuild Change-Id: I178485c84ae7146f991fd77b6d7504b029942a68
2018-04-20Migrate Settings to androidx.Aurimas Liutikas
Test: make Settings Bug: 76692459 Change-Id: I941dea40562170649bf056e675cc32e5163c0e39
2018-03-01Remove unnecessary onDeveloperOptionsSwitchEnabled/Disabled override.Doris Ling
- default implementation has been added in the super class to handle enabling/disabling the preference when the master developer options switch it turned on/off. Removing all subclass that originally implemented the methods that only contains the default behavior. Bug: 73955632 Test: make RunSettingsRoboTests Change-Id: I13c372c2ab498a5786b40cdc1ad3b5f3424abb5a
2017-10-09Move DevOptionsPrefCtrl to SettingsLibjeffreyhuang
- Move DeveloperOptionsPreferenceController Bug: 34203528 Test: make RunSettingsRoboTests -j40 Change-Id: Ie434d479d8d3f7527ffce54f241ac2e090e0fc44
2017-09-28isAvailable is true by default in dev optionsjeffreyhuang
- isAvailable() is defaulted to return true for all developer options preferences - child controllers should override for custom hiding logic Bug: 34203528 Test: make RunSettingsRoboTests -j40 Change-Id: I89921f801c25e74bf78d02c55b5f34cf1d464cd0
2017-09-26Introduce MobileDataAlwaysOnPreferenceControllerjeffreyhuang
- Create new MobileDataAlwaysOnPreferenceController - Create controller inside the DashboardFragment - Port logic from DeveloperSettings into the controller Bug: 34203528 Test: make RunSettingsRoboTests -j40 Change-Id: If4b1a0d14c4b24cb1562a37627436bfb011e9310