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

Commit e027ac9f authored by Jean Chalard's avatar Jean Chalard Committed by Android Git Automerger
Browse files

am a8285a24: am dfaec345: Merge "Always call finishComposingText before recapitalization"

* commit 'a8285a24':
  Always call finishComposingText before recapitalization
parents 416b5e83 a8285a24
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2344,6 +2344,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
                mLastSelectionEnd = mRecapitalizeStatus.getNewCursorEnd();
            }
        }
        mConnection.finishComposingText();
        mRecapitalizeStatus.rotate();
        final int numCharsDeleted = mLastSelectionEnd - mLastSelectionStart;
        mConnection.setSelection(mLastSelectionEnd, mLastSelectionEnd);