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:
@@ -35,6 +35,10 @@
|
||||
android:title="@*android:string/bugreport_title"
|
||||
android:dialogTitle="@*android:string/bugreport_title" />
|
||||
|
||||
<Preference
|
||||
android:key="system_server_heap_dump"
|
||||
android:title="@string/capture_system_heap_dump_title" />
|
||||
|
||||
<Preference
|
||||
android:key="local_backup_password"
|
||||
android:title="@string/local_backup_password_title"
|
||||
@@ -151,6 +155,11 @@
|
||||
android:title="@string/bugreport_in_power"
|
||||
android:summary="@string/bugreport_in_power_summary" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="automatic_system_server_heap_dumps"
|
||||
android:title="@string/automatic_system_heap_dump_title"
|
||||
android:summary="@string/automatic_system_heap_dump_summary" />
|
||||
|
||||
<Preference android:key="mock_location_app"
|
||||
android:title="@string/mock_location_app" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user