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
This commit is contained in:
Aurélien Pomini
2023-01-23 13:50:07 +00:00
parent 0b9b6f13cf
commit 92ba72357b
2 changed files with 4 additions and 0 deletions

View File

@@ -310,6 +310,7 @@ applications that come with the platform
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
<!-- Permission required for UiModeManager CTS test -->
<permission name="android.permission.READ_PROJECTION_STATE"/>
<permission name="android.permission.READ_WALLPAPER_INTERNAL"/>
<permission name="android.permission.READ_WIFI_CREDENTIAL"/>
<permission name="android.permission.REAL_GET_TASKS"/>
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>

View File

@@ -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" />