Add heap dump options to Developer options.
1. Add a button to capture a system heap dump on demand. 2. Add a toggle to enable/disable automatic system heap dump captures. Bug: 77490269 Test: manual Change-Id: I12b41de82f641ae239ea8e48f0180392aca5dbe8
This commit is contained in:
@@ -404,6 +404,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
|
||||
final List<AbstractPreferenceController> controllers = new ArrayList<>();
|
||||
controllers.add(new MemoryUsagePreferenceController(context));
|
||||
controllers.add(new BugReportPreferenceController(context));
|
||||
controllers.add(new SystemServerHeapDumpPreferenceController(context));
|
||||
controllers.add(new LocalBackupPasswordPreferenceController(context));
|
||||
controllers.add(new StayAwakePreferenceController(context, lifecycle));
|
||||
controllers.add(new HdcpCheckingPreferenceController(context));
|
||||
@@ -418,6 +419,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
|
||||
controllers.add(new ClearAdbKeysPreferenceController(context, fragment));
|
||||
controllers.add(new LocalTerminalPreferenceController(context));
|
||||
controllers.add(new BugReportInPowerPreferenceController(context));
|
||||
controllers.add(new AutomaticSystemServerHeapDumpPreferenceController(context));
|
||||
controllers.add(new MockLocationAppPreferenceController(context, fragment));
|
||||
controllers.add(new DebugViewAttributesPreferenceController(context));
|
||||
controllers.add(new SelectDebugAppPreferenceController(context, fragment));
|
||||
|
Reference in New Issue
Block a user