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

Commit 8da94bd9 authored by Chet Haase's avatar Chet Haase Committed by The Android Automerger
Browse files

Stop reloading wallpaper bitmap

Typo in ImageWallpaper made a dimension check incorrect.

Issue#7373200 pause when toggling between All Apps and Home screen; Home button stays illuminated for a long time

Change-Id: I82763ac8c9ed564eba904f552975ab20c8aef932
parent 5723fb0c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -327,7 +327,7 @@ public class ImageWallpaper extends WallpaperService {
            mLastRotation = newRotation;

            // Load bitmap if it is not yet loaded or if it was loaded at a different size
            if (mBackground == null || dw != mBackgroundWidth || dw != mBackgroundHeight) {
            if (mBackground == null || dw != mBackgroundWidth || dh != mBackgroundHeight) {
                if (DEBUG) {
                    Log.d(TAG, "Reloading bitmap");
                }