aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Suggest.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-08-17 10:35:37 +0900
committerJean Chalard <jchalard@google.com>2012-08-17 13:01:25 +0900
commit3e43e6998e03cbdfc5a67c42003afcd36891c02f (patch)
tree90431a150a1cc188ef1b77cfeca66aa47af3a0e1 /java/src/com/android/inputmethod/latin/Suggest.java
parente2ac3932e390590fca7a3814556331db6a08362c (diff)
downloadlatinime-3e43e6998e03cbdfc5a67c42003afcd36891c02f.tar.gz
latinime-3e43e6998e03cbdfc5a67c42003afcd36891c02f.tar.xz
latinime-3e43e6998e03cbdfc5a67c42003afcd36891c02f.zip
Remove access to the whitelist class.
...which becomes useless. It will be entirely removed in an upcoming change. Change-Id: I2f1d27f1eceda79454b01f21e057b98f2953131a
Diffstat (limited to 'java/src/com/android/inputmethod/latin/Suggest.java')
-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;