am 3bf113f0: Merge "Mark 2 resolved TODOS as such (A14)" into jb-mr1-dev

* commit '3bf113f0ea19c5d80c75e304a12fc8d98448d22f':
  Mark 2 resolved TODOS as such (A14)
main
Jean Chalard 2012-09-18 20:03:16 -07:00 committed by Android Git Automerger
commit c6e404e0e8
1 changed files with 2 additions and 2 deletions

View File

@ -1391,11 +1391,11 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
if (mWordComposer.isComposingWord()) { if (mWordComposer.isComposingWord()) {
commitTyped(LastComposedWord.NOT_A_SEPARATOR); commitTyped(LastComposedWord.NOT_A_SEPARATOR);
mExpectingUpdateSelection = true; mExpectingUpdateSelection = true;
// TODO: Can we remove this? // The following is necessary for the case where the user typed something but didn't
// manual pick it and didn't input any separator.
mSpaceState = SPACE_STATE_PHANTOM; mSpaceState = SPACE_STATE_PHANTOM;
} }
mConnection.endBatchEdit(); mConnection.endBatchEdit();
// TODO: Should handle TextUtils.CAP_MODE_CHARACTER.
mWordComposer.setCapitalizedModeAtStartComposingTime(getActualCapsMode()); mWordComposer.setCapitalizedModeAtStartComposingTime(getActualCapsMode());
} }