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

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

Merge "Fix a flash in the wrong place"

parents 02a534d1 9e9e948a
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1839,9 +1839,8 @@ public final class InputLogic {
                // the segment of text starting at the supplied index and running for the length
                // of the auto-correction flash. At this moment, the "typedWord" argument is
                // ignored by TextView.
                mConnection.commitCorrection(
                        new CorrectionInfo(
                        mConnection.getExpectedSelectionEnd() - typedWord.length(),
                mConnection.commitCorrection(new CorrectionInfo(
                        mConnection.getExpectedSelectionEnd() - autoCorrection.length(),
                        typedWord, autoCorrection));
            }
        }