diff options
author | 2012-03-09 12:30:23 +0900 | |
---|---|---|
committer | 2012-03-09 12:30:23 +0900 | |
commit | 13fb8fb775f77610105115d7cb30f6177ec6d771 (patch) | |
tree | 7ce9a221c74c72af2c7b431bd4072aa714b8fdb9 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 23a5e9d1a78f42e76996e756fd1d6a37fc2ac679 (diff) | |
download | latinime-13fb8fb775f77610105115d7cb30f6177ec6d771.tar.gz latinime-13fb8fb775f77610105115d7cb30f6177ec6d771.tar.xz latinime-13fb8fb775f77610105115d7cb30f6177ec6d771.zip |
Limit escape of parameters
Change-Id: I3a7ab069042d5542ab2e033d1eeb13d718cd7698
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 73a96895f..e1ca854b5 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1869,7 +1869,8 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar builder.addTypedWordAndPreviousSuggestions(typedWord, previousSuggestions); } } - if (Suggest.shouldBlockAutoCorrectionBySafetyNet(builder, mSuggest)) { + if (Suggest.shouldBlockAutoCorrectionBySafetyNet(builder, mSuggest, + mSettingsValues.mAutoCorrectionThreshold)) { builder.setShouldBlockAutoCorrectionBySafetyNet(); } showSuggestions(builder.build(), typedWord); |