summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2012-10-18 10:11:27 -0700
committerChet Haase <chet@google.com>2012-10-18 10:12:10 -0700
commit8481ac8fe99e080a83e6bd5e4f1e656d3b950083 (patch)
treefe2bf0d468748d9e367401566a657606bd8dd70e /packages/SystemUI/src/com/android/systemui/ImageWallpaper.java
parenta4c356cad7de0ef30faeaeadacd21b6eae913541 (diff)
downloadframeworks_base-8481ac8fe99e080a83e6bd5e4f1e656d3b950083.zip
frameworks_base-8481ac8fe99e080a83e6bd5e4f1e656d3b950083.tar.gz
frameworks_base-8481ac8fe99e080a83e6bd5e4f1e656d3b950083.tar.bz2
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
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/ImageWallpaper.java')
-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 0958f70..4716668 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");
}