Introduce BugReportInPowerPreferenceControllerV2
- Create new BugReportInPowerPreferenceControllerV2 - Deprecate BugReportInPowerPreferenceController - Create controller inside the DashboardFragment - Copy logic from BugReportInPowerPreferenceController with slight modifications for dashboard fragment compatibility Bug: 34203528 Test: make RunSettingsRoboTests -j40# Please enter the commit message for your changes. Lines starting Change-Id: I8ec0c84fa9c4e59aca48586cc081822d78d8c0d5
This commit is contained in:
@@ -254,7 +254,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
|
||||
controllers.add(new AdbPreferenceController(context, fragment));
|
||||
// revoke usb debugging authorizations
|
||||
controllers.add(new LocalTerminalPreferenceController(context));
|
||||
// bug report shortcut
|
||||
controllers.add(new BugReportInPowerPreferenceControllerV2(context));
|
||||
// select mock location app
|
||||
controllers.add(new DebugViewAttributesPreferenceController(context));
|
||||
controllers.add(new SelectDebugAppPreferenceController(context, fragment));
|
||||
|
||||
Reference in New Issue
Block a user