mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-09-05 17:12:09 +00:00
85 lines
3.5 KiB
Diff
85 lines
3.5 KiB
Diff
From dec39e7972d1f57b07b924eb33c4ee6b00e78147 Mon Sep 17 00:00:00 2001
|
|
From: Tad <tad@spotco.us>
|
|
Date: Tue, 18 Dec 2018 23:27:04 -0500
|
|
Subject: [PATCH] Remove CMStats
|
|
|
|
Change-Id: Ia1d9157ab9091176d73bf603e49d8b444218cb16
|
|
---
|
|
AndroidManifest.xml | 26 ----------------------
|
|
src/com/android/settings/Settings.java | 1 -
|
|
.../settings/cyanogenmod/PrivacySettings.java | 2 --
|
|
3 files changed, 29 deletions(-)
|
|
|
|
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
|
|
index b562de2..f7f9396 100644
|
|
--- a/AndroidManifest.xml
|
|
+++ b/AndroidManifest.xml
|
|
@@ -1872,14 +1872,6 @@
|
|
|
|
<activity android:name=".ApnEditor" />
|
|
|
|
- <activity android:name="Settings$AnonymousStatsActivity"
|
|
- android:label="@string/anonymous_statistics_title"
|
|
- android:configChanges="orientation|keyboardHidden|screenSize"
|
|
- android:clearTaskOnLaunch="true">
|
|
- <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
|
|
- android:value="com.android.settings.cmstats.AnonymousStats" />
|
|
- </activity>
|
|
-
|
|
<activity android:name=".cyanogenmod.ChangeLog" />
|
|
|
|
<activity android:name=".cyanogenmod.ContributorsCloud" />
|
|
@@ -2137,24 +2129,6 @@
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
- <!-- Anonymous Statistics -->
|
|
- <receiver android:name=".cmstats.ReportingServiceManager"
|
|
- android:enabled="true"
|
|
- android:exported="false"
|
|
- android:label="ReportingServiceManager">
|
|
- <intent-filter>
|
|
- <action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
- <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
|
|
- </intent-filter>
|
|
- </receiver>
|
|
-
|
|
- <service android:label="ReportingService"
|
|
- android:enabled="true"
|
|
- android:exported="false"
|
|
- android:name=".cmstats.ReportingService">
|
|
- </service>
|
|
-
|
|
-
|
|
<!-- Watch for ContactsContract.Profile changes and update the user's photo. -->
|
|
<receiver android:name=".users.ProfileUpdateReceiver">
|
|
<intent-filter>
|
|
diff --git a/src/com/android/settings/Settings.java b/src/com/android/settings/Settings.java
|
|
index 81b8cf6..4642581 100644
|
|
--- a/src/com/android/settings/Settings.java
|
|
+++ b/src/com/android/settings/Settings.java
|
|
@@ -1403,7 +1403,6 @@ public class Settings extends PreferenceActivity
|
|
public static class PaymentSettingsActivity extends Settings { /* empty */ }
|
|
public static class PrintSettingsActivity extends Settings { /* empty */ }
|
|
public static class PrintJobSettingsActivity extends Settings { /* empty */ }
|
|
- public static class AnonymousStatsActivity extends Settings { /* empty */ }
|
|
public static class ApnSettingsActivity extends Settings { /* empty */ }
|
|
public static class ApnEditorActivity extends Settings { /* empty */ }
|
|
public static class BlacklistSettingsActivity extends Settings { /* empty */ }
|
|
diff --git a/src/com/android/settings/cyanogenmod/PrivacySettings.java b/src/com/android/settings/cyanogenmod/PrivacySettings.java
|
|
index 49bc7b4..6c2ca8e 100644
|
|
--- a/src/com/android/settings/cyanogenmod/PrivacySettings.java
|
|
+++ b/src/com/android/settings/cyanogenmod/PrivacySettings.java
|
|
@@ -53,8 +53,6 @@ public class PrivacySettings extends SettingsPreferenceFragment {
|
|
getPreferenceScreen().removePreference(mBlacklist);
|
|
mBlacklist = null;
|
|
}
|
|
-
|
|
- addPreferencesFromResource(R.xml.security_settings_cyanogenmod);
|
|
}
|
|
|
|
@Override
|
|
--
|
|
1.8.3.1
|
|
|