Skip to content

Commit e4d8a5d

Browse files
author
Craig Mautner
committed
Fix failure to animate away exiting AppWindowToken
A previous check in changed the collection we were pulling exiting AppWindowTokens from. Instead of pulling them from mExitingAppTokens they came from mAppTokens and hence were not animated away. Fixes bug 6296433. Change-Id: I23347085658fce5412abb8ea119ce7e6152cab8b
1 parent 9828830 commit e4d8a5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ private void updateWindowsAppsAndRotationAnimationsLocked() {
139139

140140
final int NEAT = mService.mExitingAppTokens.size();
141141
for (i=0; i<NEAT; i++) {
142-
final AppWindowAnimator appAnimator = mService.mAppTokens.get(i).mAppAnimator;
142+
final AppWindowAnimator appAnimator = mService.mExitingAppTokens.get(i).mAppAnimator;
143143
final boolean wasAnimating = appAnimator.animation != null
144144
&& appAnimator.animation != WindowManagerService.sDummyAnimation;
145145
if (appAnimator.stepAnimationLocked(mCurrentTime, mInnerDw, mInnerDh)) {

0 commit comments

Comments
 (0)