summaryrefslogtreecommitdiff
path: root/packages/Shell
diff options
context:
space:
mode:
author Aurélien Pomini <pomini@google.com> 2022-11-16 14:42:28 +0000
committer Aurélien Pomini <pomini@google.com> 2022-11-16 14:42:28 +0000
commitd080a8aae90636bc761ba28fde7bb17fd7007bb1 (patch)
treeef9f3c8072fbdd1b526664f181afe09fc82f2dd9 /packages/Shell
parentd7b9c8c8735ffe957e10cc419ab592cde2f4d8df (diff)
Add AMBIENT_WALLPAPER to shell permissions
A wallpaper supporting ambient mode is required to check that WallpaperService#onAmbientModeChanged is called by the main thread. Bug: 240112941 Test: atest CtsWallpaperTestcases Change-Id: I6f7c36717366edd84802a58184798f72f2fea5cd
Diffstat (limited to 'packages/Shell')
-rw-r--r--packages/Shell/AndroidManifest.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml
index 90fab08ed43e..3d7a959c33ce 100644
--- a/packages/Shell/AndroidManifest.xml
+++ b/packages/Shell/AndroidManifest.xml
@@ -360,6 +360,9 @@
<!-- Permission needed to test wallpaper dimming -->
<uses-permission android:name="android.permission.SET_WALLPAPER_DIM_AMOUNT" />
+ <!-- Permission needed to test wallpapers supporting ambient mode -->
+ <uses-permission android:name="android.permission.AMBIENT_WALLPAPER" />
+
<!-- Permission required to test ContentResolver caching. -->
<uses-permission android:name="android.permission.CACHE_CONTENT" />