Merge "WindowState: Avoid destroying surface during relayout" into sc-dev

This commit is contained in:
Rob Carr
2021-04-01 05:40:31 +00:00
committed by Android (Google) Code Review

View File

@@ -5035,7 +5035,6 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
// Cancel the existing exit animation for the next enter animation.
if (isAnimating()) {
cancelAnimation();
destroySurfaceUnchecked();
}
mAnimatingExit = false;
}