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

* commit 'a8285a2425865ec617ae6c3d0fd22208ffc5ef17':
  Always call finishComposingText before recapitalization
main
Jean Chalard 2013-12-12 17:51:05 -08:00 committed by Android Git Automerger
commit e027ac9f7f
1 changed files with 1 additions and 0 deletions

View File

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