diff options
author | 2013-09-05 17:32:30 +0900 | |
---|---|---|
committer | 2013-09-19 13:12:11 +0900 | |
commit | 40f66795a21b857276fd0601fd9bb54e58c947ee (patch) | |
tree | d403baa4333772ab9e7e74cd51435de778231143 /java/src/com/android/inputmethod/latin/Suggest.java | |
parent | 7635ada2463730ab9e356922bb21cf5cf2a2716e (diff) | |
download | latinime-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.java | 6 |
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, |