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

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

am dfaec345: Merge "Always call finishComposingText before recapitalization"

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