diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index a8f9efb05f332c2afc8fa0d144ab59e821097519..6e5e0deaae1684678a4043936de61604b2a024d7 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1001,6 +1001,9 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen if (!mSettings.getCurrent().isApplicationSpecifiedCompletionsOn()) { return; } + // If we have an update request in flight, we need to cancel it so it does not override + // these completions. + mHandler.cancelUpdateSuggestionStrip(); if (applicationSpecifiedCompletions == null) { setNeutralSuggestionStrip(); return;