aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-08-19 22:17:13 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-19 22:17:13 -0700
commit96a1c1a34eac104bc34bc703642eeca86dff65ff (patch)
tree2de0b11d7cabd823b21b9c1a36b50285eaf4f6ad /java/src/com/android/inputmethod/latin
parent6563ba3b28bc1be78542fa229e9a835c0c696e35 (diff)
parent6ce0c23e40da08393407e39af6faacda93793f8d (diff)
downloadlatinime-96a1c1a34eac104bc34bc703642eeca86dff65ff.tar.gz
latinime-96a1c1a34eac104bc34bc703642eeca86dff65ff.tar.xz
latinime-96a1c1a34eac104bc34bc703642eeca86dff65ff.zip
am 6ce0c23e: am 04d6649d: Merge "Remove access to the whitelist class." into jb-mr1-dev
* commit '6ce0c23e40da08393407e39af6faacda93793f8d': Remove access to the whitelist class.
Diffstat (limited to 'java/src/com/android/inputmethod/latin')
-rw-r--r--java/src/com/android/inputmethod/latin/Suggest.java9
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;