Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 47e7161f authored by Roman Birg's avatar Roman Birg Committed by Gerrit Code Review
Browse files

AppOps: fix wifi scan op



There's no direct permission tied to it and fix the op-to-switch entry.

Change-Id: I661ef6707ba50adb371e3223a91880c4838df669
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
(cherry picked from commit 72a1fbe5)
parent fb09dbce
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -405,7 +405,7 @@ public class AppOpsManager {
            OP_WRITE_CALL_LOG,
            OP_READ_CALENDAR,
            OP_WRITE_CALENDAR,
            OP_COARSE_LOCATION,
            OP_WIFI_SCAN,
            OP_POST_NOTIFICATION,
            OP_COARSE_LOCATION,
            OP_CALL_PHONE,
@@ -681,7 +681,7 @@ public class AppOpsManager {
            android.Manifest.permission.WRITE_CALL_LOG,
            android.Manifest.permission.READ_CALENDAR,
            android.Manifest.permission.WRITE_CALENDAR,
            android.Manifest.permission.ACCESS_WIFI_STATE,
            null, // no permission for wifi scan available
            null, // no permission required for notifications
            null, // neighboring cells shares the coarse location perm
            android.Manifest.permission.CALL_PHONE,