Introduce TetheringHardwareAccelPreferenceCtrl

- Create new TetheringHardwareAccelPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Ida551460d8227b20cc6bca3f1d46c39ee7176f8f
This commit is contained in:
jeffreyhuang
2017-09-25 16:06:35 -07:00
parent 8caf1ff929
commit 9a0495f636
3 changed files with 210 additions and 1 deletions

View File

@@ -207,7 +207,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
controllers.add(new WifiAggressiveHandoverPreferenceController(context));
controllers.add(new WifiRoamScansPreferenceController(context));
controllers.add(new MobileDataAlwaysOnPreferenceController(context));
// tethering hardware acceleration
controllers.add(new TetheringHardwareAccelPreferenceController(context));
// select usb configuration
controllers.add(new BluetoothDeviceNoNamePreferenceController(context));
// disable absolute volume