diff options
author | 2014-02-25 02:48:21 -0800 | |
---|---|---|
committer | 2014-02-25 02:48:21 -0800 | |
commit | 82c4474b63f2f4843fea74acd24e7cd9f5b41fa1 (patch) | |
tree | 8b06e92733eb24968903261bdb4684766e46756d /java/src/com/android/inputmethod/latin/SuggestedWords.java | |
parent | 9f5acd4edecd0dcfeeeb6090cc57c138f766d793 (diff) | |
parent | 0c34ee20a80884fea49b228745ce87132ae6f22f (diff) | |
download | latinime-82c4474b63f2f4843fea74acd24e7cd9f5b41fa1.tar.gz latinime-82c4474b63f2f4843fea74acd24e7cd9f5b41fa1.tar.xz latinime-82c4474b63f2f4843fea74acd24e7cd9f5b41fa1.zip |
am 0c34ee20: [QRP5] Fix boldness for predictions, and small refactoring
* commit '0c34ee20a80884fea49b228745ce87132ae6f22f':
[QRP5] Fix boldness for predictions, and small refactoring
Diffstat (limited to 'java/src/com/android/inputmethod/latin/SuggestedWords.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/SuggestedWords.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/SuggestedWords.java b/java/src/com/android/inputmethod/latin/SuggestedWords.java index 46df3e88c..06bc90c97 100644 --- a/java/src/com/android/inputmethod/latin/SuggestedWords.java +++ b/java/src/com/android/inputmethod/latin/SuggestedWords.java @@ -69,7 +69,7 @@ public class SuggestedWords { final boolean isPrediction, final int sequenceNumber) { this(suggestedWordInfoList, rawSuggestions, - suggestedWordInfoList.isEmpty() ? null + (suggestedWordInfoList.isEmpty() || isPrediction) ? null : suggestedWordInfoList.get(INDEX_OF_TYPED_WORD).mWord, typedWordValid, willAutoCorrect, isObsoleteSuggestions, isPrediction, sequenceNumber); |