Commit Graph

2 Commits

Author SHA1 Message Date
jeffreyhuang
f74a2575a9 isAvailable is true by default in dev options
- 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-28 18:19:43 -07:00
jeffreyhuang
c1aca60f61 Introduce MobileDataAlwaysOnPreferenceController
- Create new MobileDataAlwaysOnPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DeveloperSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: If4b1a0d14c4b24cb1562a37627436bfb011e9310
2017-09-26 12:13:26 -07:00