Add permission to query packages to ThemePicker
ThemePicker needs to be able to query for any overlays that is used
in Styles in order to create the preview.
Bug: 160080219
Change-Id: I862bd8aed617cef65bfba34841806c6795af59c3
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 619d745..1bcacab 100755
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -3,11 +3,12 @@
xmlns:tools="http://schemas.android.com/tools"
package="com.android.wallpaper">
- <uses-sdk android:targetSdkVersion="29" android:minSdkVersion="28"/>
+ <uses-sdk android:targetSdkVersion="30" android:minSdkVersion="28"/>
<uses-permission android:name="android.permission.CHANGE_OVERLAY_PACKAGES"/>
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
<uses-permission android:name="android.permission.SET_WALLPAPER_COMPONENT" />
+ <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
<application
tools:replace="android:icon,android:name"