mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Don't deactivate the LastComposedWord on shift
Bug: 6495116 Change-Id: Ib86de02a1216146082bf58a033982ac37fefffe1
This commit is contained in:
parent
18ce073119
commit
125de3dfdf
@ -1298,8 +1298,9 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
switcher.onCodeInput(primaryCode);
|
switcher.onCodeInput(primaryCode);
|
||||||
// Reset after any single keystroke
|
// Reset after any single keystroke, except shift and symbol-shift
|
||||||
if (!didAutoCorrect)
|
if (!didAutoCorrect && primaryCode != Keyboard.CODE_SHIFT
|
||||||
|
&& primaryCode != Keyboard.CODE_SWITCH_ALPHA_SYMBOL)
|
||||||
mLastComposedWord.deactivate();
|
mLastComposedWord.deactivate();
|
||||||
mEnteredText = null;
|
mEnteredText = null;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user