From c26bc3ebb5ca43f199d23768130379c33b30fa89 Mon Sep 17 00:00:00 2001 From: Jonathan Klee Date: Mon, 19 Dec 2022 15:10:07 +0100 Subject: [PATCH] Write telemetry system settings --- res/values/cm_strings.xml | 6 ++ res/xml/development_settings.xml | 5 + .../DevelopmentSettingsDashboardFragment.java | 1 + .../EnableTelemetryPreferenceController.java | 101 ++++++++++++++++++ 4 files changed, 113 insertions(+) create mode 100644 src/com/android/settings/development/EnableTelemetryPreferenceController.java diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml index d6c7442d952..4c20366f246 100644 --- a/res/values/cm_strings.xml +++ b/res/values/cm_strings.xml @@ -218,6 +218,12 @@ Fast charging Disable to reduce the heat produced by the device while charging or to extend the lifespan of the battery + + Enable /e/OS Telemetry + Enable automatic bug reporting + You are about to enable /e/OS Telemetry + It will allow automatic bug report when an application crash or when the application ends up in an unexpected state. Please reboot your device after changing this setting. + Advanced Privacy Manage trackers, fake location, hide IP address diff --git a/res/xml/development_settings.xml b/res/xml/development_settings.xml index ff8cd126644..3a5f0206cef 100644 --- a/res/xml/development_settings.xml +++ b/res/xml/development_settings.xml @@ -618,6 +618,11 @@ android:key="change_update_source" android:title="@string/title_ota_server" android:summary="@string/use_ota_summary" /> + +