Merge "Introduce timeout for "." shortcut"
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index e90883f..e2888e8 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1311,6 +1311,7 @@
                 mComposing.setLength(0);
                 saveWordInHistory(mBestWord);
                 mWord.reset();
+                clearSuggestions();
             }
         }
         KeyboardSwitcher switcher = mKeyboardSwitcher;
diff --git a/java/src/com/android/inputmethod/latin/Suggest.java b/java/src/com/android/inputmethod/latin/Suggest.java
index 6466f79..ee6930d 100644
--- a/java/src/com/android/inputmethod/latin/Suggest.java
+++ b/java/src/com/android/inputmethod/latin/Suggest.java
@@ -297,7 +297,7 @@
                 }
                 if (normalizedScore >= mAutoCorrectionThreshold) {
                     if (DBG) {
-                        Log.d(TAG, "Auto corrected by S-threthhold.");
+                        Log.d(TAG, "Auto corrected by S-threshold.");
                     }
                     mHasAutoCorrection = true;
                 }