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

* commit 'b6a75d10de3ab43dcf318fde77e81918fc55e02b':
  Wait for an event before actually realizing it
This commit is contained in:
Jean Chalard 2014-07-28 12:14:29 +00:00 committed by Android Git Automerger
commit 37f701dfa0

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(