Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d951c1e authored by Jean Chalard's avatar Jean Chalard
Browse files

Wait for an event before actually realizing it

This would wrongly emit a 'timeout' log entry when switching
between two instances of the same language.

Change-Id: I56e5de121b87f3e762b58f0b2a77e9abc784036e
parent 825243bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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(