Skip to content

Commit 18937b2

Browse files
chethaaseAndroid (Google) Code Review
authored andcommitted
Merge "Stop reloading wallpaper bitmap" into jb-mr1-dev
2 parents 588fb15 + 8481ac8 commit 18937b2

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)