Grant Launcher permission to access AppSearch
This CL grants aosp launcher the permission to access appsearch to fetch
data that are explicitly made visible to the app that uses the HOME
role. One concrete example are shortcuts, with this CL aosp launchers
will now have the permission to query shortcuts directly from appsearch.
Bug: 254383738
Test: manual
Change-Id: I1a2260c7bde0d52fedff38ae56572101d51abdef
diff --git a/AndroidManifest-common.xml b/AndroidManifest-common.xml
index 02b83fe..951be4e 100644
--- a/AndroidManifest-common.xml
+++ b/AndroidManifest-common.xml
@@ -43,7 +43,8 @@
<!-- for rotating surface by arbitrary degree -->
<uses-permission android:name="android.permission.ROTATE_SURFACE_FLINGER" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
-
+ <uses-permission android:name="android.permission.READ_HOME_APP_SEARCH_DATA" />
+
<!--
Permissions required for read/write access to the workspace data. These permission name
should not conflict with that defined in other apps, as such an app should embed its package