Always rebind user-set wallpapers
setWallpaperDescription is only called from WallpaperManager APIs directly. In this case, always rebind the wallpaper, even if the same component is already set. We keep the forceRebind internally for specific cases (for example, after a clear(FLAG_LOCK), we want to move the HOME wallpaper to HOME+LOCK, we do it via setWallpaperDescriptionInternal(force=false). The COMMAND_REAPPLY will no longer be sent and should probably be removed. Test: atest WallpaperManagerTest Flag: EXEMPT small change Bug: 417165168 Want-Code-Review: all Change-Id: I296b3e2d029e89eecdc5bf03d11715a750be741b
Loading
Please register or sign in to comment