diff --git a/app/src/apkFlavor/AndroidManifest.xml b/app/src/apkFlavor/AndroidManifest.xml index 881a14be..053d4a93 100644 --- a/app/src/apkFlavor/AndroidManifest.xml +++ b/app/src/apkFlavor/AndroidManifest.xml @@ -192,7 +192,7 @@ - + + + + + + + + - - - - - - - diff --git a/app/src/fdroidFlavor/AndroidManifest.xml b/app/src/fdroidFlavor/AndroidManifest.xml index e46e0cf9..85793ce3 100644 --- a/app/src/fdroidFlavor/AndroidManifest.xml +++ b/app/src/fdroidFlavor/AndroidManifest.xml @@ -188,14 +188,6 @@ - - - - - - - - + + + + + + - + + + + + + + + - - - - - - - diff --git a/app/src/main/java/com/jens/automation2/ActivityPermissions.java b/app/src/main/java/com/jens/automation2/ActivityPermissions.java index d2dbdb34..310299ed 100644 --- a/app/src/main/java/com/jens/automation2/ActivityPermissions.java +++ b/app/src/main/java/com/jens/automation2/ActivityPermissions.java @@ -524,6 +524,7 @@ public class ActivityPermissions extends Activity addToArrayListUnique(Manifest.permission.WRITE_SETTINGS, requiredPermissions); addToArrayListUnique(Manifest.permission.ACCESS_NETWORK_STATE, requiredPermissions); addToArrayListUnique(Manifest.permission.CHANGE_NETWORK_STATE, requiredPermissions); + addToArrayListUnique(Manifest.permission.READ_PHONE_STATE, requiredPermissions); /* Permission was not required anymore, even before Android 6: https://su.chainfire.eu/#updates-permission addToArrayListUnique(permissionNameSuperuser, requiredPermissions);*/ break;