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

Commit 47d0018f authored by Roman Kalukiewicz's avatar Roman Kalukiewicz
Browse files

Added MANAGE_DEFAULT_APPLICATIONS permission.

Test: m; adb shell dumpsys package com.google.android.gms.supervision
Change-Id: I2f88b82b4ca438b60234c858ea720fdd5196825b
parent b0e5c411
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -169,6 +169,7 @@ package android {
    field public static final String MANAGE_CONTENT_CAPTURE = "android.permission.MANAGE_CONTENT_CAPTURE";
    field public static final String MANAGE_CONTENT_SUGGESTIONS = "android.permission.MANAGE_CONTENT_SUGGESTIONS";
    field public static final String MANAGE_DEBUGGING = "android.permission.MANAGE_DEBUGGING";
    field public static final String MANAGE_DEFAULT_APPLICATIONS = "android.permission.MANAGE_DEFAULT_APPLICATIONS";
    field public static final String MANAGE_DEVICE_ADMINS = "android.permission.MANAGE_DEVICE_ADMINS";
    field public static final String MANAGE_DEVICE_POLICY_APP_EXEMPTIONS = "android.permission.MANAGE_DEVICE_POLICY_APP_EXEMPTIONS";
    field public static final String MANAGE_ETHERNET_NETWORKS = "android.permission.MANAGE_ETHERNET_NETWORKS";
+6 −0
Original line number Diff line number Diff line
@@ -5046,6 +5046,12 @@
    <permission android:name="android.permission.MANAGE_ROLE_HOLDERS"
                android:protectionLevel="signature|installer" />

    <!-- @SystemApi Allows an application to manage the holders of roles associated with default
         applications.
         @hide -->
    <permission android:name="android.permission.MANAGE_DEFAULT_APPLICATIONS"
                android:protectionLevel="signature|role" />

    <!-- @SystemApi Allows an application to bypass role qualification. This allows switching role
         holders to otherwise non eligible holders. Only the shell is allowed to do this, the
         qualification for the shell role itself cannot be bypassed, and each role needs to