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

* commit '817bed5440034ab943a0789dd3f54e5eaf87bcab':
  Always call finishComposingText before recapitalization
This commit is contained in:
Jean Chalard 2013-12-13 02:20:28 +00:00 committed by Android Git Automerger
commit 71ed917abc

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