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

Commit 4b38fbe1 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Allow permission<->appop translation for all appop permissions

Fixes: 141034220, 141034223, 141032267
Test: CtsPermission2TestCases:atest android.permission2.cts.RuntimePermissionProperties#allAppOpPermissionNeedAnAppOp
Change-Id: I08ad83fd42b54bd3b91983e632ef221d30793b35
parent c336db8d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1218,6 +1218,9 @@ public class AppOpsManager {
            OP_REQUEST_INSTALL_PACKAGES,
            OP_START_FOREGROUND,
            OP_SMS_FINANCIAL_TRANSACTIONS,
            OP_MANAGE_IPSEC_TUNNELS,
            OP_GET_USAGE_STATS,
            OP_INSTANT_APP_START_FOREGROUND
    };

    /**
@@ -1598,7 +1601,7 @@ public class AppOpsManager {
            Manifest.permission.REQUEST_DELETE_PACKAGES,
            Manifest.permission.BIND_ACCESSIBILITY_SERVICE,
            Manifest.permission.ACCEPT_HANDOVER,
            null, // no permission for OP_MANAGE_IPSEC_TUNNELS
            Manifest.permission.MANAGE_IPSEC_TUNNELS,
            Manifest.permission.FOREGROUND_SERVICE,
            null, // no permission for OP_BLUETOOTH_SCAN
            Manifest.permission.USE_BIOMETRIC,