We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cb18db8 + c0c8765 commit 41ccb08Copy full SHA for 41ccb08
core/java/android/inputmethodservice/InputMethodService.java
@@ -688,6 +688,10 @@ void initViews() {
688
mRootView.getViewTreeObserver().removeOnComputeInternalInsetsListener(
689
mInsetsComputer);
690
if (mWindowAdded) {
691
+ // Disable exit animation for the current IME window
692
+ // to avoid the race condition between the exit and enter animations
693
+ // when the current IME is being switched to another one.
694
+ mWindow.getWindow().setWindowAnimations(0);
695
mWindow.dismiss();
696
}
697
0 commit comments