am 08476dc1
: Merge "Don\'t send empty composing texts."
* commit '08476dc1076cec7758786141bb86b3a5c46e4e35': Don't send empty composing texts.
This commit is contained in:
commit
8e38607e5c
1 changed files with 5 additions and 1 deletions
|
@ -936,7 +936,11 @@ public final class InputLogic {
|
|||
} else {
|
||||
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();
|
||||
} else {
|
||||
if (mLastComposedWord.canRevertCommit()) {
|
||||
|
|
Loading…
Reference in a new issue