summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Ruesga <jorge@ruesga.com>2013-10-19 21:22:24 (GMT)
committerJorge Ruesga <jorge@ruesga.com>2013-10-19 21:22:24 (GMT)
commit5d97eb1d08ae883125081b8f5af37d8642fa0938 (patch)
treeb3005f373d84a22b07524477e40266a93d51d891
parent74827290989d72f2cb5973e1b063c95719bdf168 (diff)
downloadandroid_packages_apps_Trebuchet-5d97eb1d08ae883125081b8f5af37d8642fa0938.zip
android_packages_apps_Trebuchet-5d97eb1d08ae883125081b8f5af37d8642fa0938.tar.gz
android_packages_apps_Trebuchet-5d97eb1d08ae883125081b8f5af37d8642fa0938.tar.bz2
Trebuchet: Notify wallpaper offsets to LWPs
Change-Id: Icca0ba23f674c2b2116f47349e7b3abc62d32c21 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
-rw-r--r--src/com/cyanogenmod/trebuchet/Workspace.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/cyanogenmod/trebuchet/Workspace.java b/src/com/cyanogenmod/trebuchet/Workspace.java
index 4dd4523..0321e2b 100644
--- a/src/com/cyanogenmod/trebuchet/Workspace.java
+++ b/src/com/cyanogenmod/trebuchet/Workspace.java
@@ -1123,7 +1123,7 @@ public class Workspace extends PagedView
if (updateNow) {
mWallpaperScrollX = mWallpaperInterpolator.getCurrX();
mWallpaperScrollY = mWallpaperInterpolator.getCurrY();
- if (!mWallpaperHack && mWindowToken != null) {
+ if (mWallpaperBitmap == null && mWindowToken != null) {
mWallpaperManager.setWallpaperOffsets(mWindowToken, mWallpaperScrollX, mWallpaperScrollY);
}
}