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
This commit is contained in:
jeffreyhuang
2017-09-26 11:41:53 -07:00
parent 9aae9d5d80
commit c1aca60f61
3 changed files with 205 additions and 1 deletions

View File

@@ -206,7 +206,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
// enable wi-fi verbose logging
// aggressive wifi to mobile handover
controllers.add(new WifiRoamScansPreferenceController(context));
// mobile always active
controllers.add(new MobileDataAlwaysOnPreferenceController(context));
// tethering hardware acceleration
// select usb configuration
// show bluetooth devices without names