Merge "Resume suggestion at start input"

main
Jean Chalard 2013-06-26 10:18:32 +00:00 committed by Android (Google) Code Review
commit 6c0e412137
1 changed files with 1 additions and 0 deletions

View File

@ -778,6 +778,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
// span, so we should reset our state unconditionally, even if restarting is true. // span, so we should reset our state unconditionally, even if restarting is true.
mEnteredText = null; mEnteredText = null;
resetComposingState(true /* alsoResetLastComposedWord */); resetComposingState(true /* alsoResetLastComposedWord */);
if (isDifferentTextField) mHandler.postResumeSuggestions();
mDeleteCount = 0; mDeleteCount = 0;
mSpaceState = SPACE_STATE_NONE; mSpaceState = SPACE_STATE_NONE;
mRecapitalizeStatus.deactivate(); mRecapitalizeStatus.deactivate();