From 8d516a80a056943c8265a4e0af63e41d8cdffede Mon Sep 17 00:00:00 2001 From: Samuel Asteberg Date: Wed, 25 Feb 2015 15:51:05 +0100 Subject: [PATCH] SystemUI needs the SET_WALLPAPER permission If changing wallpaper when low on memory, retrieving the default wallpaper may return null, which triggers error handling in ImageWallpaper. This error handling tries to perform WallpaperManager.clear(), but for that it needs SET_WALLPAPER permission, which it does not have. For users with apps that auto change wallpaper, this issue can be frequent in low-memory conditions. The solution is to add the permisson. Change-Id: I81503c1667e3952c2dd15599969f7dcc51623e5b --- packages/SystemUI/AndroidManifest.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/SystemUI/AndroidManifest.xml b/packages/SystemUI/AndroidManifest.xml index b606a6fb52ae2..226a8ca345673 100644 --- a/packages/SystemUI/AndroidManifest.xml +++ b/packages/SystemUI/AndroidManifest.xml @@ -104,6 +104,9 @@ + + +