mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-27 16:39:35 -05:00
9a6c3f99ed
- No patches were found with incorrect authorship/From: lines - The older AndroidHardening patch repos are no longer available to verify CID. - New GrapheneOS patches do not include a CID. - *Signature_Spoofing.patch CID could not be found. - Fixed CID of *Harden_Sig_Spoofing.patch to match 14.1 - Fixed CID of *LGE_Fixes.patch to match 14.1 - Fixed CID of *Harden.patch to match 14.1 - Added edit note to *Harden.patch - Fixed CID of *PREREQ_Handle_All_Modes.patch to match 14.1 - Fixed CID of *More_Preferred_Network_Modes.patch to match 14.1 - Fixed CID of *AES256.patch to match 14.1 - Fixed CID of *0001-OTA_Keys.patch to match 18.1 - Fixed CID of *Camera_Fix.patch to match 15.1 - Fixed CID of *Connectivity.patch to match 14.1 - Fixed CID of *Fix_Calling.patch to match 14.1 - Fixed CID of *Remove_Analytics.patch to match 14.1 - Fixed CID of Unused-*.patch/audio_extn to match original Signed-off-by: Tad <tad@spotco.us>
141 lines
6.3 KiB
Diff
141 lines
6.3 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Tad <tad@spotco.us>
|
|
Date: Thu, 19 Apr 2018 20:46:02 -0400
|
|
Subject: [PATCH] Remove analytics
|
|
|
|
Change-Id: Ic01c97d6ceac8d324609763973639b41b4581a76
|
|
---
|
|
AndroidManifest.xml | 25 -------------------------
|
|
proguard.flags | 1 -
|
|
res/values/config.xml | 3 ---
|
|
res/values/strings.xml | 22 ----------------------
|
|
res/xml/parts_catalog.xml | 5 -----
|
|
res/xml/trust_preferences.xml | 3 ---
|
|
6 files changed, 59 deletions(-)
|
|
|
|
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
|
|
index 69dbdae..8afff66 100644
|
|
--- a/AndroidManifest.xml
|
|
+++ b/AndroidManifest.xml
|
|
@@ -208,31 +208,6 @@
|
|
android:resource="@string/expanded_desktop_settings_summary" />
|
|
</activity-alias>
|
|
|
|
- <!-- Anonymous Statistics -->
|
|
- <receiver android:name=".lineagestats.ReportingServiceManager"
|
|
- android:enabled="true"
|
|
- android:exported="false"
|
|
- android:label="ReportingServiceManager">
|
|
- <intent-filter>
|
|
- <action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
- <action android:name="org.lineageos.lineageparts.action.TRIGGER_REPORT_METRICS" />
|
|
- </intent-filter>
|
|
- </receiver>
|
|
-
|
|
- <service android:label="ReportingService"
|
|
- android:enabled="true"
|
|
- android:exported="false"
|
|
- android:name=".lineagestats.ReportingService">
|
|
- </service>
|
|
-
|
|
- <service android:name=".lineagestats.StatsUploadJobService"
|
|
- android:permission="android.permission.BIND_JOB_SERVICE" />
|
|
-
|
|
- <service android:name=".lineagestats.ReportingService"
|
|
- android:label="ReportingService"
|
|
- android:enabled="true"
|
|
- android:exported="false" />
|
|
-
|
|
<!-- Weather settings -->
|
|
<activity-alias
|
|
android:name=".weather.WeatherServiceSettings"
|
|
diff --git a/proguard.flags b/proguard.flags
|
|
index 85e774a..db3507c 100644
|
|
--- a/proguard.flags
|
|
+++ b/proguard.flags
|
|
@@ -3,7 +3,6 @@
|
|
-keep class org.lineageos.lineageparts.*Picker
|
|
-keep class org.lineageos.lineageparts.*Settings
|
|
|
|
--keep class org.lineageos.lineageparts.lineagestats.*
|
|
-keep class org.lineageos.lineageparts.contributors.*
|
|
-keep class org.lineageos.lineageparts.hardware.*
|
|
-keep class org.lineageos.lineageparts.input.*
|
|
diff --git a/res/values/config.xml b/res/values/config.xml
|
|
index 4236b27..eed044a 100644
|
|
--- a/res/values/config.xml
|
|
+++ b/res/values/config.xml
|
|
@@ -17,9 +17,6 @@
|
|
|
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
|
|
|
- <!-- Metrics server endpoint -->
|
|
- <string name="stats_lineage_url">https://stats.lineageos.org/api/v1/stats</string>
|
|
-
|
|
<!-- When true, weather options will be displayed in settings dashboard -->
|
|
<bool name="config_showWeatherMenu">true</bool>
|
|
|
|
diff --git a/res/values/strings.xml b/res/values/strings.xml
|
|
index 42793e8..4bbc5a0 100644
|
|
--- a/res/values/strings.xml
|
|
+++ b/res/values/strings.xml
|
|
@@ -545,28 +545,6 @@
|
|
<b>Total commits:</b> <xliff:g id="total_commits">%2$s</xliff:g><br/><br/>
|
|
<b>Last update:</b> <xliff:g id="date">%3$s</xliff:g>]]></string>
|
|
|
|
- <!-- Anonymous Statistics #Lineage -->
|
|
- <!-- About device screen, list item title. Takes the user to the screen about opting in or out of anonymous statistics. -->
|
|
- <string name="anonymous_statistics_title">LineageOS statistics</string>
|
|
- <string name="anonymous_statistics_summary">Help make LineageOS better by opting into anonymous statistics reporting</string>
|
|
- <string name="anonymous_statistics_warning_title">About</string>
|
|
- <string name="anonymous_statistics_warning">Opting into LineageOS Statistics will allow non-personal data to be submitted to the
|
|
- developers of LineageOS to track unique installations across devices. The information submitted includes an unique identifier,
|
|
- which does not compromise your privacy or personal data. The data is submitted during each boot.\n\nFor an example of the data that is submitted, tap on Preview Data.</string>
|
|
- <string name="enable_reporting_title">Enable reporting</string>
|
|
- <string name="preview_data_title">Preview data</string>
|
|
- <string name="view_stats_title">View stats</string>
|
|
- <string name="anonymous_learn_more">Learn more</string>
|
|
-
|
|
- <!-- Anonymous Statistics - Preview -->
|
|
- <string name="preview_id_title">Unique ID</string>
|
|
- <string name="preview_device_title">Device</string>
|
|
- <string name="preview_version_title">Version</string>
|
|
- <string name="preview_country_title">Country</string>
|
|
- <string name="preview_carrier_title">Carrier</string>
|
|
- <string name="stats_collection_title">Stats collection</string>
|
|
- <string name="stats_collection_summary">Allow installation metrics and device statistics to be collected</string>
|
|
-
|
|
<!-- Display : Rotation -->
|
|
<string name="accelerometer_title">Auto-rotate screen</string>
|
|
<string name="display_rotation_title">Rotation settings</string>
|
|
diff --git a/res/xml/parts_catalog.xml b/res/xml/parts_catalog.xml
|
|
index 2ad4fdb..5a227cc 100644
|
|
--- a/res/xml/parts_catalog.xml
|
|
+++ b/res/xml/parts_catalog.xml
|
|
@@ -69,11 +69,6 @@
|
|
android:fragment="org.lineageos.lineageparts.statusbar.StatusBarSettings"
|
|
lineage:xmlRes="@xml/status_bar_settings" />
|
|
|
|
- <part android:key="lineagestats"
|
|
- android:title="@string/anonymous_statistics_title"
|
|
- android:fragment="org.lineageos.lineageparts.lineagestats.AnonymousStats"
|
|
- lineage:xmlRes="@xml/anonymous_stats" />
|
|
-
|
|
<part android:key="power_menu"
|
|
android:title="@string/power_menu_title"
|
|
android:fragment="org.lineageos.lineageparts.input.PowerMenuActions"
|
|
diff --git a/res/xml/trust_preferences.xml b/res/xml/trust_preferences.xml
|
|
index f12fd7e..f4e696c 100644
|
|
--- a/res/xml/trust_preferences.xml
|
|
+++ b/res/xml/trust_preferences.xml
|
|
@@ -46,9 +46,6 @@
|
|
<org.lineageos.internal.lineageparts.LineagePartsPreference
|
|
android:key="privacy_guard_manager" />
|
|
|
|
- <org.lineageos.internal.lineageparts.LineagePartsPreference
|
|
- android:key="lineagestats" />
|
|
-
|
|
<ListPreference
|
|
android:key="sms_security_check_limit"
|
|
android:defaultValue="30"
|