diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index ec491b7de1f78cf10439e1f6741cb3a39ea34870..c4e5ce39f9cbac8ecbe8f7fa513b9f495440b41f 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1290,6 +1290,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen 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 6466f7980efd0781e5be27b6822425aabac58d26..ee6930d93d555e65bda3e793253884030329c25e 100644 --- a/java/src/com/android/inputmethod/latin/Suggest.java +++ b/java/src/com/android/inputmethod/latin/Suggest.java @@ -297,7 +297,7 @@ public class Suggest implements Dictionary.WordCallback { } if (normalizedScore >= mAutoCorrectionThreshold) { if (DBG) { - Log.d(TAG, "Auto corrected by S-threthhold."); + Log.d(TAG, "Auto corrected by S-threshold."); } mHasAutoCorrection = true; }