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

* commit '37f701dfa09f303f45c3c0494482c8ae9694b4e1':
  Wait for an event before actually realizing it
This commit is contained in:
Jean Chalard 2014-07-28 12:18:17 +00:00 committed by Android Git Automerger
commit bfd40d2a93

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(