Skip to content

Commit 9023cf9

Browse files
chethaaseAndroid (Google) Code Review
authored andcommitted
Merge "Set wallpaper bitmap reference to null before reloading" into jb-mr1-dev
2 parents 3e29733 + 589a6af commit 9023cf9

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed
5.68 KB
Loading

packages/SystemUI/src/com/android/systemui/ImageWallpaper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@ private void updateWallpaperLocked() {
401401
Throwable exception = null;
402402
try {
403403
mWallpaperManager.forgetLoadedWallpaper(); // force reload
404+
mBackground = null;
404405
mBackground = mWallpaperManager.getBitmap();
405406
} catch (RuntimeException e) {
406407
exception = e;

0 commit comments

Comments
 (0)