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

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

am 817bed54: am e027ac9f: am a8285a24: am dfaec345: Merge "Always call...

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

* commit '817bed54':
  Always call finishComposingText before recapitalization
parents 691207d1 817bed54
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);