Merge "Always call finishComposingText before recapitalization"

main
Jean Chalard 2013-10-09 05:18:00 +00:00 committed by Android (Google) Code Review
commit dfaec34502
1 changed files with 1 additions and 0 deletions

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