Add READ_WALLPAPER_INTERNAL to the Shell androidManifest

A permission issue caused a breakage in ContextTest. Granting READ_WALLPAPER_INTERNAL to the test fixes the issue.

This requires to add READ_WALLPAPER_INTERNAL to the shell
androidManifest

Ignore-AOSP-First: fixes a bug in tm-qpr
Bug: 266051928
Test: atest ContextTest
Change-Id: I4816caae33ab225af309afac76638ae01a722733
Merged-In: I4816caae33ab225af309afac76638ae01a722733
This commit is contained in:
Aurélien Pomini
2023-02-02 09:18:20 +00:00
parent 9705323f41
commit 1248c48a5d
2 changed files with 4 additions and 0 deletions

View File

@@ -306,6 +306,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

@@ -356,6 +356,9 @@
<!-- Permission needed to test wallpaper dimming -->
<uses-permission android:name="android.permission.SET_WALLPAPER_DIM_AMOUNT" />
<!-- 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" />