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

Commit 5bb7eba1 authored by Cassie Wang's avatar Cassie Wang
Browse files

Define new AppSearch global query permission.

The role that holds this permission will have access to platform
surfaceable documents in AppSearch.

Bug: 187113133
Test: presubmit
Change-Id: Iec848e8df69c4590777eb1397ce33a445e155655
parent f012f6f7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -211,6 +211,7 @@ package android {
    field public static final String READ_CONTENT_RATING_SYSTEMS = "android.permission.READ_CONTENT_RATING_SYSTEMS";
    field public static final String READ_DEVICE_CONFIG = "android.permission.READ_DEVICE_CONFIG";
    field public static final String READ_DREAM_STATE = "android.permission.READ_DREAM_STATE";
    field public static final String READ_GLOBAL_APP_SEARCH_DATA = "android.permission.READ_GLOBAL_APP_SEARCH_DATA";
    field public static final String READ_INSTALL_SESSIONS = "android.permission.READ_INSTALL_SESSIONS";
    field public static final String READ_NETWORK_USAGE_HISTORY = "android.permission.READ_NETWORK_USAGE_HISTORY";
    field public static final String READ_OEM_UNLOCK_STATE = "android.permission.READ_OEM_UNLOCK_STATE";
+5 −0
Original line number Diff line number Diff line
@@ -5782,6 +5782,11 @@
    <permission android:name="android.permission.CAPTURE_BLACKOUT_CONTENT"
        android:protectionLevel="signature" />

      <!-- @SystemApi Allows an application to query over global data in AppSearch.
           @hide -->
    <permission android:name="android.permission.READ_GLOBAL_APP_SEARCH_DATA"
                android:protectionLevel="internal|role" />

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