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

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

am e027ac9f: am a8285a24: am dfaec345: Merge "Always call finishComposingText...

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

* commit 'e027ac9f':
  Always call finishComposingText before recapitalization
parents e0e7c42e e027ac9f
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);