Introduce DebugViewAttributesPreferenceController

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

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Ida84c187f2670a601aaf1ff2f141807b28ec081c
This commit is contained in:
jeffreyhuang
2017-09-21 17:02:29 -07:00
parent b9a1f1a563
commit af7737c15c
3 changed files with 206 additions and 1 deletions

View File

@@ -192,7 +192,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
// local terminal
// bug report shortcut
// select mock location app
// enable view attribute inspection
controllers.add(new DebugViewAttributesPreferenceController(context));
// select debug app
// wait for debugger
// verify apps over usb