mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am 79daef2e: am 71b047e3: Merge "Don\'t deactivate the LastComposedWord on shift" into jb-dev
* commit '79daef2e9b29b67048cd052b33c88675a0c62220': Don't deactivate the LastComposedWord on shift
This commit is contained in:
commit
8717ad4cbd
@ -1307,8 +1307,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