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

Commit c668788e authored by Roman Kalukiewicz's avatar Roman Kalukiewicz Committed by Android (Google) Code Review
Browse files

Merge "Added MANAGE_DEFAULT_APPLICATIONS permission."

parents b14de00b 47d0018f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -175,6 +175,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
@@ -5545,6 +5545,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