diff options
author | 2012-08-19 22:12:35 -0700 | |
---|---|---|
committer | 2012-08-19 22:12:36 -0700 | |
commit | 04d6649d295c59a0bbbad3f123606cf28d9f3b61 (patch) | |
tree | 0db93eb5c3fcc5b36c9338f3ce4148946b70b937 /java/src | |
parent | 753f7b123e721cdb7519f6c4e21b6bb5e6d735b3 (diff) | |
parent | 3e43e6998e03cbdfc5a67c42003afcd36891c02f (diff) | |
download | latinime-04d6649d295c59a0bbbad3f123606cf28d9f3b61.tar.gz latinime-04d6649d295c59a0bbbad3f123606cf28d9f3b61.tar.xz latinime-04d6649d295c59a0bbbad3f123606cf28d9f3b61.zip |
Merge "Remove access to the whitelist class." into jb-mr1-dev
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/Suggest.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/java/src/com/android/inputmethod/latin/Suggest.java b/java/src/com/android/inputmethod/latin/Suggest.java index 1f43c6d85..1f0bd75cb 100644 --- a/java/src/com/android/inputmethod/latin/Suggest.java +++ b/java/src/com/android/inputmethod/latin/Suggest.java @@ -216,15 +216,6 @@ public class Suggest { wordComposerForLookup, prevWordForBigram, proximityInfo)); } - final CharSequence whitelistedWordFromWhitelistDictionary = - mWhiteListDictionary.getWhitelistedWord(consideredWord); - if (whitelistedWordFromWhitelistDictionary != null) { - // MAX_SCORE ensures this will be considered strong enough to be auto-corrected - suggestionsSet.add(new SuggestedWordInfo(whitelistedWordFromWhitelistDictionary, - SuggestedWordInfo.MAX_SCORE, SuggestedWordInfo.KIND_WHITELIST, - Dictionary.TYPE_WHITELIST)); - } - final CharSequence whitelistedWord; if (suggestionsSet.isEmpty()) { whitelistedWord = null; |