Merge "Set wallpaper bitmap reference to null before reloading" into jb-mr1-dev
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 91 KiB |
@@ -401,6 +401,7 @@ public class ImageWallpaper extends WallpaperService {
|
||||
Throwable exception = null;
|
||||
try {
|
||||
mWallpaperManager.forgetLoadedWallpaper(); // force reload
|
||||
mBackground = null;
|
||||
mBackground = mWallpaperManager.getBitmap();
|
||||
} catch (RuntimeException e) {
|
||||
exception = e;
|
||||
|
||||
Reference in New Issue
Block a user