Merge "Don't send empty composing texts."
commit
08476dc107
|
@ -936,7 +936,11 @@ public final class InputLogic {
|
|||
} else {
|
||||
mWordComposer.processEvent(inputTransaction.mEvent);
|
||||
}
|
||||
if (mWordComposer.isComposingWord()) {
|
||||
mConnection.setComposingText(getTextWithUnderline(mWordComposer.getTypedWord()), 1);
|
||||
} else {
|
||||
mConnection.commitText("", 1);
|
||||
}
|
||||
inputTransaction.setRequiresUpdateSuggestions();
|
||||
} else {
|
||||
if (mLastComposedWord.canRevertCommit()) {
|
||||
|
|
Loading…
Reference in New Issue