aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Suggest.java
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2013-09-19 06:16:10 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-09-19 06:16:10 +0000
commitff493744a3f3593f9a8c78e87d7ba813759e46b6 (patch)
tree8af3ccbc5c5bbd8bace9da6c6318bed0844b382d /java/src/com/android/inputmethod/latin/Suggest.java
parent6f68b736f6cfa9f962facf5bccb620e732fcf518 (diff)
parent40f66795a21b857276fd0601fd9bb54e58c947ee (diff)
downloadlatinime-ff493744a3f3593f9a8c78e87d7ba813759e46b6.tar.gz
latinime-ff493744a3f3593f9a8c78e87d7ba813759e46b6.tar.xz
latinime-ff493744a3f3593f9a8c78e87d7ba813759e46b6.zip
Merge "Quit skipping user history dictionary for gesture."
Diffstat (limited to 'java/src/com/android/inputmethod/latin/Suggest.java')
-rw-r--r--java/src/com/android/inputmethod/latin/Suggest.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/java/src/com/android/inputmethod/latin/Suggest.java b/java/src/com/android/inputmethod/latin/Suggest.java
index 1684d47b5..6c18c948f 100644
--- a/java/src/com/android/inputmethod/latin/Suggest.java
+++ b/java/src/com/android/inputmethod/latin/Suggest.java
@@ -361,12 +361,6 @@ public final class Suggest {
// At second character typed, search the unigrams (scores being affected by bigrams)
for (final String key : mDictionaries.keySet()) {
- // Skip User history dictionary for lookup
- // TODO: The user history dictionary should just override getSuggestionsWithSessionId
- // to make sure it doesn't return anything and we should remove this test
- if (key.equals(Dictionary.TYPE_USER_HISTORY)) {
- continue;
- }
final Dictionary dictionary = mDictionaries.get(key);
suggestionsSet.addAll(dictionary.getSuggestionsWithSessionId(wordComposer,
prevWordForBigram, proximityInfo, blockOffensiveWords,