diff options
author | 2011-01-26 21:15:41 -0800 | |
---|---|---|
committer | 2011-01-26 21:15:41 -0800 | |
commit | d4a0e7461090e9f5e9f3f9427d9b7820cea2ff7c (patch) | |
tree | b308306b1cf8a14019159532227ea2739a059848 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 975fba0cff59fe159174077f50c8ab28b3a0f7fe (diff) | |
parent | 5c73753e67e97d5085abcd6c343911ec7d87212e (diff) | |
download | latinime-d4a0e7461090e9f5e9f3f9427d9b7820cea2ff7c.tar.gz latinime-d4a0e7461090e9f5e9f3f9427d9b7820cea2ff7c.tar.xz latinime-d4a0e7461090e9f5e9f3f9427d9b7820cea2ff7c.zip |
am 5c73753e: Merge "Fix safety net not to be enabled at aggressive autocompletion mode" into honeycomb
* commit '5c73753e67e97d5085abcd6c343911ec7d87212e':
Fix safety net not to be enabled at aggressive autocompletion mode
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index c439efe4c..8166e0b4e 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1580,7 +1580,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen private void showSuggestions(SuggestedWords suggestedWords, CharSequence typedWord) { setSuggestions(suggestedWords); if (suggestedWords.size() > 0) { - if (Utils.shouldBlockedBySafetyNetForAutoCorrection(suggestedWords)) { + if (Utils.shouldBlockedBySafetyNetForAutoCorrection(suggestedWords, mSuggest)) { mBestWord = typedWord; } else if (suggestedWords.hasAutoCorrectionWord()) { mBestWord = suggestedWords.getWord(1); |