am 036b83f4: Merge "Wait for an event before actually realizing it" into lmp-dev

* commit '036b83f4c44169703273b4e8192809fdadd7b8ad':
  Wait for an event before actually realizing it
This commit is contained in:
Jean Chalard 2014-07-28 12:09:16 +00:00 committed by Android Git Automerger
commit b6a75d10de

View file

@ -237,10 +237,10 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
latinIme.mKeyboardSwitcher.getCurrentKeyboardScriptId());
break;
case MSG_REOPEN_DICTIONARIES:
latinIme.resetSuggest();
// We need to re-evaluate the currently composing word in case the script has
// changed.
postWaitForDictionaryLoad();
latinIme.resetSuggest();
break;
case MSG_UPDATE_TAIL_BATCH_INPUT_COMPLETED:
latinIme.mInputLogic.onUpdateTailBatchInputCompleted(