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

Commit dd25e4fa authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Cancel pending rotation when another rotation start

Bug: 5516802
Change-Id: Iccb0abeb94e6dc1322a98a0c744188bb74034c7f
parent 556a7147
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -372,6 +372,8 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
        private boolean mHasPendingFinishInput;

        public void startOrientationChanging() {
            removeMessages(MSG_PENDING_IMS_CALLBACK);
            resetPendingImsCallback();
            mIsOrientationChanging = true;
            final LatinIME latinIme = getOuterInstance();
            latinIme.mKeyboardSwitcher.saveKeyboardState();