aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Suggest.java
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2013-09-05 17:32:30 +0900
committerKeisuke Kuroyanagi <ksk@google.com>2013-09-19 13:12:11 +0900
commit40f66795a21b857276fd0601fd9bb54e58c947ee (patch)
treed403baa4333772ab9e7e74cd51435de778231143 /java/src/com/android/inputmethod/latin/Suggest.java
parent7635ada2463730ab9e356922bb21cf5cf2a2716e (diff)
downloadlatinime-40f66795a21b857276fd0601fd9bb54e58c947ee.tar.gz
latinime-40f66795a21b857276fd0601fd9bb54e58c947ee.tar.xz
latinime-40f66795a21b857276fd0601fd9bb54e58c947ee.zip
Quit skipping user history dictionary for gesture.
Bug: 6669677 Change-Id: Id4344f2a30e9827f210055d6c65ee7776d3a63e3
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,