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

Commit 4ce2270c authored by George Chan's avatar George Chan Committed by Android (Google) Code Review
Browse files

Merge "Add GET_BACKGROUND_INSTALLED_PACKAGES permission and added to...

Merge "Add GET_BACKGROUND_INSTALLED_PACKAGES permission and added to com.android.shell for testing and BTS adb shell API." into main
parents 8cb18811 22d9e7e3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -133,6 +133,7 @@ package android {
    field public static final String FORCE_STOP_PACKAGES = "android.permission.FORCE_STOP_PACKAGES";
    field public static final String GET_APP_METADATA = "android.permission.GET_APP_METADATA";
    field public static final String GET_APP_OPS_STATS = "android.permission.GET_APP_OPS_STATS";
    field @FlaggedApi("android.app.bic_client") public static final String GET_BACKGROUND_INSTALLED_PACKAGES = "android.permission.GET_BACKGROUND_INSTALLED_PACKAGES";
    field @FlaggedApi("android.app.get_binding_uid_importance") public static final String GET_BINDING_UID_IMPORTANCE = "android.permission.GET_BINDING_UID_IMPORTANCE";
    field public static final String GET_HISTORICAL_APP_OPS_STATS = "android.permission.GET_HISTORICAL_APP_OPS_STATS";
    field public static final String GET_PROCESS_STATE_AND_OOM_SCORE = "android.permission.GET_PROCESS_STATE_AND_OOM_SCORE";
+12 −0
Original line number Diff line number Diff line
@@ -7896,6 +7896,18 @@
    <permission android:name="android.permission.RECEIVE_SENSITIVE_NOTIFICATIONS"
        android:protectionLevel="signature|role" />

    <!-- @SystemApi
         @FlaggedApi("android.app.bic_client")
         Allows app to call BackgroundInstallControlManager API to retrieve silently installed apps
         for all users on device.
         <p>Apps with a BackgroundInstallControlManager client will not be able to call any API without
         this permission.
         <p>Protection level: signature|role
         @hide
     -->
    <permission android:name="android.permission.GET_BACKGROUND_INSTALLED_PACKAGES"
        android:protectionLevel="signature|role" />

    <!-- Attribution for Geofencing service. -->
    <attribution android:tag="GeofencingService" android:label="@string/geofencing_service"/>
    <!-- Attribution for Country Detector. -->
+2 −0
Original line number Diff line number Diff line
@@ -541,6 +541,8 @@ applications that come with the platform
        <permission name="android.permission.GET_BINDING_UID_IMPORTANCE"/>
        <!-- Permission required for CTS test NotificationManagerZenTest -->
        <permission name="android.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS" />
        <!-- Permission required for BinaryTransparencyService shell API and host test -->
        <permission name="android.permission.GET_BACKGROUND_INSTALLED_PACKAGES" />
    </privapp-permissions>

    <privapp-permissions package="com.android.statementservice">
+3 −0
Original line number Diff line number Diff line
@@ -891,6 +891,9 @@
    <!-- Permission required for Cts test - CtsNotificationTestCases -->
    <uses-permission android:name="android.permission.RECEIVE_SENSITIVE_NOTIFICATIONS" />

    <!-- Permission required for BinaryTransparencyService shell API and host test -->
    <uses-permission android:name="android.permission.GET_BACKGROUND_INSTALLED_PACKAGES" />

    <application
        android:label="@string/app_label"
        android:theme="@android:style/Theme.DeviceDefault.DayNight"