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

Commit 93e6a145 authored by Lingyun Zhao's avatar Lingyun Zhao Committed by Android (Google) Code Review
Browse files

Merge "Define a new permission for appsearch isolated storage service" into main

parents e11f8253 532739af
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -182,6 +182,7 @@ android_app {
        "aconfig_settingslib_flags",
        "telephony_flags",
        "update_engine_aconfig_declarations",
        "appsearch_aconfig_flags",
    ],
}

+9 −0
Original line number Diff line number Diff line
@@ -8484,6 +8484,15 @@
    <permission android:name="android.permission.READ_HOME_APP_SEARCH_DATA"
        android:protectionLevel="internal|role" />

    <!-- Must be required by an {@link com.android.server.appsearch.isolated_storage_service.IsolatedStorageService}
         to ensure that only the system can bind to it.
         <p>Protection level: signature
         @hide
    -->
    <permission android:name="android.permission.BIND_APP_SEARCH_ISOLATED_STORAGE_SERVICE"
        android:protectionLevel="signature"
        android:featureFlag= "com.android.appsearch.flags.enable_isolated_storage" />

    <!-- Allows an assistive application to perform actions on behalf of users inside of
         applications.
         <p>For now, this permission is only granted to the Assistant application selected by