From ab1fffe8d2d697c25a1fc2b32c7268bd1bf16be5 Mon Sep 17 00:00:00 2001 From: Catfriend1 Date: Sat, 27 Apr 2019 12:51:21 +0200 Subject: [PATCH] Disable DuraSpeed on HMD Global phones (fixes #404) (#410) * AndroidManifest: Add WRITE_SETTINGS, WRITE_SECURE_SETTINGS permissions * Disable DuraSpeed on HMD Global phones (fixes #404) * lint: Ignore ProtectedPermissions --- app/lint.xml | 1 + app/src/main/AndroidManifest.xml | 3 ++ .../receiver/BootReceiver.java | 32 +++++++++++++++++++ 3 files changed, 36 insertions(+) diff --git a/app/lint.xml b/app/lint.xml index d67c6bf6..7dbaee2b 100644 --- a/app/lint.xml +++ b/app/lint.xml @@ -13,6 +13,7 @@ + diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 7742d30b..ba822409 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -21,6 +21,9 @@ + + +