From a20e3a53d787e8ec6641f88ecedf1a49494222eb Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Wed, 2 Jun 2021 05:47:08 +0200 Subject: [PATCH 1/2] LineageParts: Change references to /e/ OS in Trust ASB dialog Signed-off-by: Aayush Gupta --- res/values/strings.xml | 1 + src/org/lineageos/lineageparts/trust/TrustPreferences.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 5b63a7b0..5a6462ea 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -724,6 +724,7 @@ out of date Security patches are released monthly by Google in cooperation with SoC vendors to address flaws which could be exploited by malicious apps to bypass security restrictions and cause permanent damage to your device. Patches made available by Google are applied every month on all supported devices, but patches to proprietary code can only be applied by your device\'s manufacturer. To keep your device safe make sure your LineageOS build is always up-to-date, and (if applicable) ensure your vendor image is updated to the latest one recommended by LineageOS. + Security patches are released monthly by Google in cooperation with SoC vendors to address flaws which could be exploited by malicious apps to bypass security restrictions and cause permanent damage to your device. Patches made available by Google are applied every month on all supported devices, but patches to proprietary code can only be applied by your device\'s manufacturer. To keep your device safe make sure your /e/ OS build is always up-to-date, and (if applicable) ensure your vendor image is updated to the latest one recommended by /e/ OS. Encryption Enabled Needs a secure lock screen diff --git a/src/org/lineageos/lineageparts/trust/TrustPreferences.java b/src/org/lineageos/lineageparts/trust/TrustPreferences.java index f99f8abe..484f2ee1 100644 --- a/src/org/lineageos/lineageparts/trust/TrustPreferences.java +++ b/src/org/lineageos/lineageparts/trust/TrustPreferences.java @@ -78,7 +78,7 @@ public class TrustPreferences extends SettingsPreferenceFragment { mRootPref.setOnPreferenceClickListener(p -> showInfo(R.string.trust_feature_root_explain)); mSecurityPatchesPref.setOnPreferenceClickListener(p -> - showInfo(R.string.trust_feature_security_patches_explain)); + showInfo(R.string.trust_feature_security_patches_explain_e)); mEncryptionPref.setOnPreferenceClickListener(p -> showInfo(R.string.trust_feature_encryption_explain)); mSmsLimitPref.setOnPreferenceChangeListener((p, v) -> -- GitLab From e47d1cf5f026ddeefffcfdc280c18e05c24a4e2b Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Wed, 2 Jun 2021 05:58:10 +0200 Subject: [PATCH 2/2] LineageParts: Remove LineageOS stats collection support completely Signed-off-by: Aayush Gupta --- res/values/config.xml | 3 --- res/values/strings.xml | 22 ----------------- res/xml/preview_data.xml | 52 ---------------------------------------- 3 files changed, 77 deletions(-) delete mode 100644 res/xml/preview_data.xml diff --git a/res/values/config.xml b/res/values/config.xml index 4236b278..eed044a3 100644 --- a/res/values/config.xml +++ b/res/values/config.xml @@ -17,9 +17,6 @@ - - https://stats.lineageos.org/api/v1/stats - true diff --git a/res/values/strings.xml b/res/values/strings.xml index 5a6462ea..32f7bee3 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -541,28 +541,6 @@ Total commits: %2$s

Last update: %3$s]]> - - - LineageOS statistics - Help make LineageOS better by opting into anonymous statistics reporting - About - 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. - Enable reporting - Preview data - View stats - Learn more - - - Unique ID - Device - Version - Country - Carrier - Stats collection - Allow installation metrics and device statistics to be collected - Auto-rotate screen Rotation settings diff --git a/res/xml/preview_data.xml b/res/xml/preview_data.xml deleted file mode 100644 index 025524ca..00000000 --- a/res/xml/preview_data.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - -- GitLab