Merge "WindowState: Avoid destroying surface during relayout" into sc-dev
This commit is contained in:
@@ -5035,7 +5035,6 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
|
|||||||
// Cancel the existing exit animation for the next enter animation.
|
// Cancel the existing exit animation for the next enter animation.
|
||||||
if (isAnimating()) {
|
if (isAnimating()) {
|
||||||
cancelAnimation();
|
cancelAnimation();
|
||||||
destroySurfaceUnchecked();
|
|
||||||
}
|
}
|
||||||
mAnimatingExit = false;
|
mAnimatingExit = false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user