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

Commit 125de3df authored by Jean Chalard's avatar Jean Chalard
Browse files

Don't deactivate the LastComposedWord on shift

Bug: 6495116
Change-Id: Ib86de02a1216146082bf58a033982ac37fefffe1
parent 18ce0731
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1298,8 +1298,9 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
            break;
        }
        switcher.onCodeInput(primaryCode);
        // Reset after any single keystroke
        if (!didAutoCorrect)
        // Reset after any single keystroke, except shift and symbol-shift
        if (!didAutoCorrect && primaryCode != Keyboard.CODE_SHIFT
                && primaryCode != Keyboard.CODE_SWITCH_ALPHA_SYMBOL)
            mLastComposedWord.deactivate();
        mEnteredText = null;
    }