am 1c958102: Merge "Set detached wallpaper on the scale up animation." into jb-dev
* commit '1c9581023ced89a209fca9c4e40305f8e0859732': Set detached wallpaper on the scale up animation.
This commit is contained in:
@@ -1740,8 +1740,6 @@ public class WindowManagerService extends IWindowManager.Stub
|
|||||||
mWallpaperTarget = oldW;
|
mWallpaperTarget = oldW;
|
||||||
foundW = oldW;
|
foundW = oldW;
|
||||||
foundI = oldI;
|
foundI = oldI;
|
||||||
mLowerWallpaperTarget = null;
|
|
||||||
mUpperWallpaperTarget = null;
|
|
||||||
}
|
}
|
||||||
// Now set the upper and lower wallpaper targets
|
// Now set the upper and lower wallpaper targets
|
||||||
// correctly, and make sure that we are positioning
|
// correctly, and make sure that we are positioning
|
||||||
@@ -3162,6 +3160,7 @@ public class WindowManagerService extends IWindowManager.Stub
|
|||||||
set.addAnimation(scale);
|
set.addAnimation(scale);
|
||||||
alpha.setDuration(duration);
|
alpha.setDuration(duration);
|
||||||
set.addAnimation(alpha);
|
set.addAnimation(alpha);
|
||||||
|
set.setDetachWallpaper(true);
|
||||||
a = set;
|
a = set;
|
||||||
} else {
|
} else {
|
||||||
a = createExitAnimationLocked(transit, duration);
|
a = createExitAnimationLocked(transit, duration);
|
||||||
|
|||||||
Reference in New Issue
Block a user