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
This commit is contained in:
Aurélien Pomini
2022-11-16 14:42:28 +00:00
parent d7b9c8c873
commit d080a8aae9

View File

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