Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08476dc1 authored by Jean Chalard's avatar Jean Chalard Committed by Android (Google) Code Review
Browse files

Merge "Don't send empty composing texts."

parents 83da2642 309ab664
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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()) {