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:
@@ -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"/>
|
||||
|
||||
@@ -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" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user