Add READ_WALLPAPER_INTERNAL to the Shell androidManifest
Required to stop using the StorageManager to check the wallpaper read permissions
Test: atest ContextTest
Test: atest CtsWallpaperTestCases
Bug: 266051928
Bug: 261906287
Bug: 239784307
Change-Id: I4816caae33ab225af309afac76638ae01a722733
diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml
index b4598bf..4a8e2de5 100644
--- a/packages/Shell/AndroidManifest.xml
+++ b/packages/Shell/AndroidManifest.xml
@@ -369,6 +369,9 @@
<!-- Permission needed to test wallpapers supporting ambient mode -->
<uses-permission android:name="android.permission.AMBIENT_WALLPAPER" />
+ <!-- Permission needed to test wallpaper read methods -->
+ <uses-permission android:name="android.permission.READ_WALLPAPER_INTERNAL" />
+
<!-- Permission required to test ContentResolver caching. -->
<uses-permission android:name="android.permission.CACHE_CONTENT" />