mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Don't send empty composing texts.
Bug: 13160467 Change-Id: I5e3204ac8aaa18fe9219cc6b564b832ab6cf94fc
This commit is contained in:
parent
61ddac28de
commit
309ab664a8
@ -936,7 +936,11 @@ public final class InputLogic {
|
|||||||
} else {
|
} else {
|
||||||
mWordComposer.processEvent(inputTransaction.mEvent);
|
mWordComposer.processEvent(inputTransaction.mEvent);
|
||||||
}
|
}
|
||||||
mConnection.setComposingText(getTextWithUnderline(mWordComposer.getTypedWord()), 1);
|
if (mWordComposer.isComposingWord()) {
|
||||||
|
mConnection.setComposingText(getTextWithUnderline(mWordComposer.getTypedWord()), 1);
|
||||||
|
} else {
|
||||||
|
mConnection.commitText("", 1);
|
||||||
|
}
|
||||||
inputTransaction.setRequiresUpdateSuggestions();
|
inputTransaction.setRequiresUpdateSuggestions();
|
||||||
} else {
|
} else {
|
||||||
if (mLastComposedWord.canRevertCommit()) {
|
if (mLastComposedWord.canRevertCommit()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user