setAllAppWinAnimators() for closing apps.

This makes sure the app windows get onExitAnimationDone() call when
the animation is done vs. when the activity is stopped which happens
later.

Bug: 64218925
Test: go/wm-smoke
Change-Id: Ia3bd5efb0cc9713758f1b4ca4765b4bd5e19542d
This commit is contained in:
Wale Ogunwale
2017-10-17 08:12:08 -07:00
parent a512d331ff
commit b9d93ca316

View File

@@ -449,6 +449,9 @@ class WindowSurfacePlacer {
// animating?
wtoken.setVisibility(animLp, false, transit, false, voiceInteraction);
wtoken.updateReportedVisibilityLocked();
// setAllAppWinAnimators so the windows get onExitAnimationDone once the animation is
// done.
wtoken.setAllAppWinAnimators();
// Force the allDrawn flag, because we want to start
// this guy's animations regardless of whether it's
// gotten drawn.