From 40f66795a21b857276fd0601fd9bb54e58c947ee Mon Sep 17 00:00:00 2001 From: Keisuke Kuroyanagi Date: Thu, 5 Sep 2013 17:32:30 +0900 Subject: Quit skipping user history dictionary for gesture. Bug: 6669677 Change-Id: Id4344f2a30e9827f210055d6c65ee7776d3a63e3 --- java/src/com/android/inputmethod/latin/Suggest.java | 6 ------ 1 file changed, 6 deletions(-) (limited to 'java/src/com/android/inputmethod/latin/Suggest.java') 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, -- cgit v1.2.3-83-g751a