summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorbelgin <belginstirbu@hotmail.com>2020-11-24 01:34:29 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-11-25 11:45:59 +0100
commit6da310cd86ec8c03d7f58b209a3ac686170b6d28 (patch)
treef6320ff9e2a897b88ee37e8943d3e0d9d0ad6fcc /src/com
parent01cbc0f2b08b45f1358737b78a2ada558e24e99b (diff)
downloadpackages_apps_Settings-replicant-6.0.tar.gz
packages_apps_Settings-replicant-6.0.tar.bz2
packages_apps_Settings-replicant-6.0.zip
Signed-off-by: belgin <belginstirbu@hotmail.com> Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/settings/cyanogenmod/PrivacySettings.java3
1 files changed, 0 insertions, 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