summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chet Haase <chet@google.com> 2012-10-18 10:11:27 -0700
committer Chet Haase <chet@google.com> 2012-10-18 10:12:10 -0700
commit8481ac8fe99e080a83e6bd5e4f1e656d3b950083 (patch)
treefe2bf0d468748d9e367401566a657606bd8dd70e
parenta4c356cad7de0ef30faeaeadacd21b6eae913541 (diff)
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
-rw-r--r--packages/SystemUI/src/com/android/systemui/ImageWallpaper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java b/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java
index 0958f70ffbd4..4716668c33d2 100644
--- a/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java
+++ b/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java
@@ -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");
}