Introduce WaitForDebuggerPreferenceController

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

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I95e25ad244328dd49da1b1e8fcd1c264f0ccc587
This commit is contained in:
jeffreyhuang
2017-09-22 14:36:38 -07:00
parent 9d6f5d6f1d
commit fad926bfec
3 changed files with 331 additions and 1 deletions

View File

@@ -198,7 +198,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
// select mock location app
controllers.add(new DebugViewAttributesPreferenceController(context));
controllers.add(new SelectDebugAppPreferenceController(context, fragment));
//controllers.add(new WaitForDebuggerPreferenceController(context));
controllers.add(new WaitForDebuggerPreferenceController(context));
// verify apps over usb
// logger buffer sizes
// store logger data persistently on device