[Replicant] [PATCH] Remove analytics support

belgin belginstirbu at hotmail.com
Mon Nov 23 23:34:29 UTC 2020


Signed-off-by: belgin <belginstirbu at hotmail.com>
---
 src/com/android/settings/cyanogenmod/PrivacySettings.java | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/com/android/settings/cyanogenmod/PrivacySettings.java b/src/com/android/settings/cyanogenmod/PrivacySettings.java
index f6a9c15e1..066063ad3 100644
--- a/src/com/android/settings/cyanogenmod/PrivacySettings.java
+++ b/src/com/android/settings/cyanogenmod/PrivacySettings.java
@@ -32,7 +32,6 @@ import org.cyanogenmod.internal.logging.CMMetricsLogger;
 public class PrivacySettings extends SettingsPreferenceFragment {
 
     private static final String KEY_BLACKLIST = "blacklist";
-    private static final String KEY_STATS = "cmstats";
 
     private PreferenceScreen mBlacklist;
 
@@ -48,8 +47,6 @@ public class PrivacySettings extends SettingsPreferenceFragment {
 
         boolean isOwner = Utils.isUserOwner();
         if (!isOwner) {
-            PreferenceScreen root = getPreferenceScreen();
-            root.removePreference(findPreference(KEY_STATS));
         }
 
         // Determine options based on device telephony support
-- 
2.11.0



More information about the Replicant mailing list