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

Commit 684e0da6 authored by Essence Cain's avatar Essence Cain Committed by Android (Google) Code Review
Browse files

Merge "Add new system level permission EMERGENCY_INSTALL_PACAKGES" into main

parents 28418c9a 7f9463f4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -129,6 +129,7 @@ package android {
    field public static final String DISABLE_SYSTEM_SOUND_EFFECTS = "android.permission.DISABLE_SYSTEM_SOUND_EFFECTS";
    field public static final String DISPATCH_PROVISIONING_MESSAGE = "android.permission.DISPATCH_PROVISIONING_MESSAGE";
    field public static final String DOMAIN_VERIFICATION_AGENT = "android.permission.DOMAIN_VERIFICATION_AGENT";
    field @FlaggedApi("android.content.pm.emergency_install_permission") public static final String EMERGENCY_INSTALL_PACKAGES = "android.permission.EMERGENCY_INSTALL_PACKAGES";
    field public static final String ENTER_CAR_MODE_PRIORITIZED = "android.permission.ENTER_CAR_MODE_PRIORITIZED";
    field public static final String EXEMPT_FROM_AUDIO_RECORD_RESTRICTIONS = "android.permission.EXEMPT_FROM_AUDIO_RECORD_RESTRICTIONS";
    field public static final String FORCE_BACK = "android.permission.FORCE_BACK";
+7 −0
Original line number Diff line number Diff line
@@ -168,3 +168,10 @@ flag {
    description: "Feature flag to allow the sandbox SDK to query intent activities of the client app."
    bug: "295842134"
}

flag {
    name: "emergency_install_permission"
    namespace: "permissions"
    description: "Feature flag to enable permission EMERGENCY_INSTALL_PACKAGES"
    bug: "321080601"
}
+10 −0
Original line number Diff line number Diff line
@@ -7985,6 +7985,16 @@
    <permission android:name="android.permission.READ_SYSTEM_GRAMMATICAL_GENDER"
                android:protectionLevel="signature|privileged"/>

    <!-- @SystemApi
        @FlaggedApi("android.content.pm.emergency_install_permission")
        Allows each app store in the system image to designate another app in the system image to
        update the app store
        <p>Protection level: signature|privileged
        @hide
    -->
    <permission android:name="android.permission.EMERGENCY_INSTALL_PACKAGES"
                android:protectionLevel="signature|privileged"/>

    <!-- Attribution for Geofencing service. -->
    <attribution android:tag="GeofencingService" android:label="@string/geofencing_service"/>
    <!-- Attribution for Country Detector. -->