Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41ccb08f authored by satok's avatar satok Committed by Android (Google) Code Review
Browse files

Merge "Skip the exit animation when the IME is destroyed."

parents cb18db8e c0c87657
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -688,6 +688,10 @@ public class InputMethodService extends AbstractInputMethodService {
        mRootView.getViewTreeObserver().removeOnComputeInternalInsetsListener(
                mInsetsComputer);
        if (mWindowAdded) {
            // Disable exit animation for the current IME window
            // to avoid the race condition between the exit and enter animations
            // when the current IME is being switched to another one.
            mWindow.getWindow().setWindowAnimations(0);
            mWindow.dismiss();
        }
    }