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

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

Merge "Always call finishComposingText before recapitalization"

parents e306d292 f178685c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2307,6 +2307,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
                mLastSelectionEnd = mRecapitalizeStatus.getNewCursorEnd();
            }
        }
        mConnection.finishComposingText();
        mRecapitalizeStatus.rotate();
        final int numCharsDeleted = mLastSelectionEnd - mLastSelectionStart;
        mConnection.setSelection(mLastSelectionEnd, mLastSelectionEnd);