Merge "Always call finishComposingText before recapitalization"

This commit is contained in:
Jean Chalard 2013-10-09 05:18:00 +00:00 committed by Android (Google) Code Review
commit dfaec34502

View file

@ -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);