Settings: disable all bugreport settings

we dont need those

Change-Id: I7dd62da21e7a48b6a8182df60ac1a06461a1fa8e
Signed-off-by: rohan <purohit.rohan@gmail.com>
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: Kunmun <kunmun.devroms@gmail.com>
This commit is contained in:
maxwen
2018-08-20 11:38:23 +02:00
committed by Joey
parent 0876b26204
commit c86240f23b
2 changed files with 7 additions and 5 deletions

View File

@@ -29,10 +29,10 @@
android:summary="@string/summary_placeholder"
android:fragment="com.android.settings.applications.ProcessStatsSummary" />
<com.android.settings.BugreportPreference
<!--<com.android.settings.BugreportPreference
android:key="bugreport"
android:title="@*android:string/bugreport_title"
android:dialogTitle="@*android:string/bugreport_title" />
android:dialogTitle="@*android:string/bugreport_title" />-->
<Preference
android:key="bug_report_handler"
@@ -214,10 +214,12 @@
android:summary="@string/enable_linux_terminal_summary"
android:fragment="com.android.settings.development.linuxterminal.LinuxTerminalDashboardFragment" />
<!--
<SwitchPreferenceCompat
android:key="bugreport_in_power"
android:title="@string/bugreport_in_power"
android:summary="@string/bugreport_in_power_summary" />
-->
<SwitchPreferenceCompat
android:key="enable_verbose_vendor_logging"

View File

@@ -708,8 +708,8 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
@Nullable BluetoothA2dpConfigStore bluetoothA2dpConfigStore) {
final List<AbstractPreferenceController> controllers = new ArrayList<>();
controllers.add(new MemoryUsagePreferenceController(context));
controllers.add(new BugReportPreferenceController(context));
controllers.add(new BugReportHandlerPreferenceController(context));
//controllers.add(new BugReportPreferenceController(context));
//controllers.add(new BugReportHandlerPreferenceController(context));
controllers.add(new SystemServerHeapDumpPreferenceController(context));
controllers.add(new DevelopmentMemtagPagePreferenceController(context));
controllers.add(new LocalBackupPasswordPreferenceController(context));
@@ -736,7 +736,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
controllers.add(new AdbAuthorizationTimeoutPreferenceController(context));
controllers.add(new LocalTerminalPreferenceController(context));
controllers.add(new LinuxTerminalPreferenceController(context));
controllers.add(new BugReportInPowerPreferenceController(context));
//controllers.add(new BugReportInPowerPreferenceController(context));
controllers.add(new AutomaticSystemServerHeapDumpPreferenceController(context));
controllers.add(new MockLocationAppPreferenceController(context, fragment));
controllers.add(new MockModemPreferenceController(context));