diff options
author | 2012-08-19 22:15:06 -0700 | |
---|---|---|
committer | 2012-08-19 22:15:06 -0700 | |
commit | 6ce0c23e40da08393407e39af6faacda93793f8d (patch) | |
tree | 0db93eb5c3fcc5b36c9338f3ce4148946b70b937 /java/src | |
parent | 7bf71ca8090208a14716bcbbab992a0d90764cfc (diff) | |
parent | 04d6649d295c59a0bbbad3f123606cf28d9f3b61 (diff) | |
download | latinime-6ce0c23e40da08393407e39af6faacda93793f8d.tar.gz latinime-6ce0c23e40da08393407e39af6faacda93793f8d.tar.xz latinime-6ce0c23e40da08393407e39af6faacda93793f8d.zip |
am 04d6649d: Merge "Remove access to the whitelist class." into jb-mr1-dev
* commit '04d6649d295c59a0bbbad3f123606cf28d9f3b61':
Remove access to the whitelist class.
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; |