From 0df83fd57ad86942e7ae15f106103e92cde2e6a9 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 bd0e40c3..9af35f27 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -665,6 +665,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 1b49c978..c7060b6d 100644 --- a/src/org/lineageos/lineageparts/trust/TrustPreferences.java +++ b/src/org/lineageos/lineageparts/trust/TrustPreferences.java @@ -74,7 +74,7 @@ public class TrustPreferences extends SettingsPreferenceFragment { mSELinuxPref.setOnPreferenceClickListener(p -> showInfo(R.string.trust_feature_selinux_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 9b99cb6f9968a61b4239e467bcbb1bc08f2e1633 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 --- proguard.flags | 1 - res/values/config.xml | 3 --- res/values/strings.xml | 22 ----------------- res/xml/preview_data.xml | 52 ---------------------------------------- 4 files changed, 78 deletions(-) delete mode 100644 res/xml/preview_data.xml diff --git a/proguard.flags b/proguard.flags index 6724bc50..3a1c85b0 100644 --- a/proguard.flags +++ b/proguard.flags @@ -7,7 +7,6 @@ -keep class org.lineageos.lineageparts.gestures.* -keep class org.lineageos.lineageparts.hardware.* -keep class org.lineageos.lineageparts.input.* --keep class org.lineageos.lineageparts.lineagestats.* -keep class org.lineageos.lineageparts.livedisplay.* -keep class org.lineageos.lineageparts.notificationlight.* -keep class org.lineageos.lineageparts.power.* 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 9af35f27..c958d5f2 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -517,28 +517,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