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

Commit eda09653 authored by Jean Chalard's avatar Jean Chalard
Browse files

Do not auto-correct upon starting a gesture.

We decided to revert this UI decision after negative feedback.
Indeed, if you use to gesture but tap just one word, chances
are it's because you know you do NOT want a dictionary word.

Bug: 6965241
Change-Id: I85fdfab3c1cf1d3c0fd3e95908e01bdf56bccbba
parent 33a226f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1382,7 +1382,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
    public void onStartBatchInput() {
        mConnection.beginBatchEdit();
        if (mWordComposer.isComposingWord()) {
            commitCurrentAutoCorrection(LastComposedWord.NOT_A_SEPARATOR);
            commitTyped(LastComposedWord.NOT_A_SEPARATOR);
            mExpectingUpdateSelection = true;
            // TODO: Can we remove this?
            mSpaceState = SPACE_STATE_PHANTOM;