Introduce VerifyAppsOverUsbPreferenceControllerV2

- Create new VerifyAppsOverUsbPreferenceControllerV2
 - Deprecate VerifyAppsOverUsbPreferenceController
 - Create controller inside the DashboardFragment
 - Copy logic from VerifyAppsOverUsbPreferenceController with
 slight modifications for dashboard fragment compatibility

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I37c01cd262c9e12307ec9cbe6effc5470496550f
This commit is contained in:
jeffreyhuang
2017-09-29 17:28:33 -07:00
parent 5ae503b383
commit 7b216bae94
5 changed files with 391 additions and 1 deletions

View File

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