Merge "Re-compute IME target after the transition finished"

This commit is contained in:
TreeHugger Robot
2021-12-22 01:08:30 +00:00
committed by Android (Google) Code Review

View File

@@ -1037,7 +1037,13 @@ class RootWindowContainer extends WindowContainer<DisplayContent>
}
}
if (curDisplay.mAppTransition.isRunning() && !curDisplay.isAppTransitioning()) {
final boolean curDisplayInTransitNotAnimate =
// legacy transition
(curDisplay.mAppTransition.isRunning() && !curDisplay.isAppTransitioning())
// shell transition
|| (curDisplay.mTransitionController.isShellTransitionsEnabled()
&& !curDisplay.mTransitionController.isPlaying());
if (curDisplayInTransitNotAnimate) {
// We have finished the animation of an app transition. To do this, we have
// delayed a lot of operations like showing and hiding apps, moving apps in
// Z-order, etc.