Merge "Set wallpaper bitmap reference to null before reloading" into jb-mr1-dev

This commit is contained in:
Chet Haase
2012-10-25 12:19:18 -07:00
committed by Android (Google) Code Review
2 changed files with 1 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 91 KiB

View File

@@ -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;