Sending WALLPAPER_CHANGED broadcast when live wallpaper changes

Bug: 27947401
Change-Id: Ib4fb3310e124e01d8fb7d7045d565ca3b9456050
This commit is contained in:
Sunny Goyal
2016-03-31 11:05:51 -07:00
parent 08f41dfb8c
commit 0572e1847a

View File

@@ -1285,6 +1285,7 @@ public class WallpaperManagerService extends IWallpaperManager.Stub {
wallpaper.imageWallpaperPending = false;
if (bindWallpaperComponentLocked(name, false, true, wallpaper, null)) {
wallpaper.wallpaperId = makeWallpaperIdLocked();
notifyCallbacksLocked(wallpaper);
}
} finally {
Binder.restoreCallingIdentity(ident);