Skip to content

Commit 1c95810

Browse files
Craig MautnerAndroid (Google) Code Review
authored andcommitted
Merge "Set detached wallpaper on the scale up animation." into jb-dev
2 parents f6f7f1d + a803371 commit 1c95810

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

services/java/com/android/server/wm/WindowManagerService.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1740,8 +1740,6 @@ int adjustWallpaperWindowsLocked() {
17401740
mWallpaperTarget = oldW;
17411741
foundW = oldW;
17421742
foundI = oldI;
1743-
mLowerWallpaperTarget = null;
1744-
mUpperWallpaperTarget = null;
17451743
}
17461744
// Now set the upper and lower wallpaper targets
17471745
// correctly, and make sure that we are positioning
@@ -3162,6 +3160,7 @@ private Animation createScaleUpAnimationLocked(int transit, boolean enter) {
31623160
set.addAnimation(scale);
31633161
alpha.setDuration(duration);
31643162
set.addAnimation(alpha);
3163+
set.setDetachWallpaper(true);
31653164
a = set;
31663165
} else {
31673166
a = createExitAnimationLocked(transit, duration);

0 commit comments

Comments
 (0)