Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9023cf91 authored by Chet Haase's avatar Chet Haase Committed by Android (Google) Code Review
Browse files

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

parents 3e297339 589a6af1
Loading
Loading
Loading
Loading
+5.68 KiB (91.1 KiB)
Loading image diff...
+1 −0
Original line number Diff line number Diff line
@@ -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;