am 0108e4b1: am a3f06baa: Merge "Do not auto-correct upon starting a gesture." into jb-mr1-dev

* commit '0108e4b12f678946f05940d8002830a2fed3010f':
  Do not auto-correct upon starting a gesture.
main
Jean Chalard 2012-09-14 10:31:11 -07:00 committed by Android Git Automerger
commit 3f7e9f824c
1 changed files with 1 additions and 1 deletions

View File

@ -1401,7 +1401,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
public void onStartBatchInput() { public void onStartBatchInput() {
mConnection.beginBatchEdit(); mConnection.beginBatchEdit();
if (mWordComposer.isComposingWord()) { if (mWordComposer.isComposingWord()) {
commitCurrentAutoCorrection(LastComposedWord.NOT_A_SEPARATOR); commitTyped(LastComposedWord.NOT_A_SEPARATOR);
mExpectingUpdateSelection = true; mExpectingUpdateSelection = true;
// TODO: Can we remove this? // TODO: Can we remove this?
mSpaceState = SPACE_STATE_PHANTOM; mSpaceState = SPACE_STATE_PHANTOM;