diff options
author | 2010-12-19 17:32:26 +0900 | |
---|---|---|
committer | 2010-12-22 01:48:20 +0900 | |
commit | 9fb8c6dd48dfa4e45827628a866d9b13c4c6c799 (patch) | |
tree | 55b8a99409634bf53e0af55873ee4abf45b0ea0e /java/src/com/android/inputmethod/latin/Suggest.java | |
parent | baf83886be975d804eda3e1519b7255026e5163e (diff) | |
download | latinime-9fb8c6dd48dfa4e45827628a866d9b13c4c6c799.tar.gz latinime-9fb8c6dd48dfa4e45827628a866d9b13c4c6c799.tar.xz latinime-9fb8c6dd48dfa4e45827628a866d9b13c4c6c799.zip |
Suppress punctuation suggestions if not needed
Bug: 3294256
Bug: 3284745
Change-Id: I77d54cbfcc2e809315bab59ecb808ae944982501
Diffstat (limited to 'java/src/com/android/inputmethod/latin/Suggest.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/Suggest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/Suggest.java b/java/src/com/android/inputmethod/latin/Suggest.java index a30ec1587..236590284 100644 --- a/java/src/com/android/inputmethod/latin/Suggest.java +++ b/java/src/com/android/inputmethod/latin/Suggest.java @@ -345,7 +345,7 @@ public class Suggest implements Dictionary.WordCallback { } } removeDupes(); - return new SuggestedWords.Builder().setWords(mSuggestions); + return new SuggestedWords.Builder().addWords(mSuggestions); } public int[] getNextLettersFrequencies() { |