Introduce LocalTerminalPreferenceController

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

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Ib4a375181af9367a4aef74fd9889de2de1c8652d
This commit is contained in:
jeffreyhuang
2017-09-21 15:37:14 -07:00
parent b9a1f1a563
commit 2ebb0dd1d6
3 changed files with 242 additions and 1 deletions

View File

@@ -189,7 +189,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
// quick settings developer tiles
// usb debugging
// revoke usb debugging authorizations
// local terminal
controllers.add(new LocalTerminalPreferenceController(context));
// bug report shortcut
// select mock location app
// enable view attribute inspection