Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d080a8aa authored by Aurélien Pomini's avatar Aurélien Pomini
Browse files

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
parent d7b9c8c8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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" />