Merge "Don't resume suggestions if suggestions are not requested."
diff --git a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
index 1bc67b2..f53183f 100644
--- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
+++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
@@ -1142,6 +1142,8 @@
         // Recorrection is not supported in languages without spaces because we don't know
         // how to segment them yet.
         if (!settingsValues.mSpacingAndPunctuations.mCurrentLanguageHasSpaces) return;
+        // If no suggestions are requested, don't try restarting suggestions.
+        if (!settingsValues.isSuggestionsRequested()) return;
         // If the cursor is not touching a word, or if there is a selection, return right away.
         if (mConnection.hasSelection()) return;
         // If we don't know the cursor location, return.