Skip to content

Commit 8481ac8

Browse files
committed
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
1 parent a4c356c commit 8481ac8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ void drawFrameLocked() {
327327
mLastRotation = newRotation;
328328

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

0 commit comments

Comments
 (0)