Clear WS.mDestroying on AWT.clearAnimatingFlags

am: 3c0d44e633

Change-Id: I7188dc89d20ee7d96f99e0116cef0eaa4b1bcc4e
This commit is contained in:
Wale Ogunwale
2016-08-11 21:05:45 +00:00
committed by android-build-merger

View File

@@ -359,6 +359,11 @@ class AppWindowToken extends WindowToken {
// placement for this window during this period, one or more frame will // placement for this window during this period, one or more frame will
// show up with wrong position or scale. // show up with wrong position or scale.
win.mWinAnimator.mAnimating = false; win.mWinAnimator.mAnimating = false;
if (win.mDestroying) {
win.mDestroying = false;
service.mDestroySurface.remove(win);
}
} }
} }
requestUpdateWallpaperIfNeeded(); requestUpdateWallpaperIfNeeded();