summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Craig Mautner <cmautner@google.com> 2012-06-12 15:50:45 -0700
committer Craig Mautner <cmautner@google.com> 2012-06-12 15:50:45 -0700
commita803371535e98e522c1044f0963ec8229e437b4f (patch)
treedefd7408489381973394bd4326fb7736630bee36
parentf958732bd3924205d9f8bda94f4f6e3bb4045b28 (diff)
Set detached wallpaper on the scale up animation.
This keeps the background wallpaper from disappearing when expanding an app that has a wallpaper background (e.g. clock). Fixes bug 6649988. The second half of the bug, the first half will be reissued as a new bug. Change-Id: I209c9038469e4133586a927c92ef64ae43fb937f
-rwxr-xr-xservices/java/com/android/server/wm/WindowManagerService.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/services/java/com/android/server/wm/WindowManagerService.java b/services/java/com/android/server/wm/WindowManagerService.java
index 28c8b06bd4cc..c94a3c7b87d9 100755
--- a/services/java/com/android/server/wm/WindowManagerService.java
+++ b/services/java/com/android/server/wm/WindowManagerService.java
@@ -1740,8 +1740,6 @@ public class WindowManagerService extends IWindowManager.Stub
mWallpaperTarget = oldW;
foundW = oldW;
foundI = oldI;
- mLowerWallpaperTarget = null;
- mUpperWallpaperTarget = null;
}
// Now set the upper and lower wallpaper targets
// correctly, and make sure that we are positioning
@@ -3162,6 +3160,7 @@ public class WindowManagerService extends IWindowManager.Stub
set.addAnimation(scale);
alpha.setDuration(duration);
set.addAnimation(alpha);
+ set.setDetachWallpaper(true);
a = set;
} else {
a = createExitAnimationLocked(transit, duration);