aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-02-06 15:51:04 +0900
committerJean Chalard <jchalard@google.com>2014-02-06 16:14:41 +0900
commita49f61f8a73e64cb4db4f7ee5c0fe54fc40b367c (patch)
tree13098eb57369547a1298622960a1fb1a03305faf /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
parent58eed6360db7f8d2ba12ab34d18656f8ec7b6116 (diff)
downloadlatinime-a49f61f8a73e64cb4db4f7ee5c0fe54fc40b367c.tar.gz
latinime-a49f61f8a73e64cb4db4f7ee5c0fe54fc40b367c.tar.xz
latinime-a49f61f8a73e64cb4db4f7ee5c0fe54fc40b367c.zip
Conditionally store the raw suggestions.
Bug: 12913520 Change-Id: Ie15f97d90c142c51089280252b35b5ad1d226e19
Diffstat (limited to 'java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java')
-rw-r--r--java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
index 3ecf5f0fb..6e9050593 100644
--- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
+++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
@@ -1332,7 +1332,8 @@ public final class InputLogic {
} else {
// We found suggestion spans in the word. We'll create the SuggestedWords out of
// them, and make willAutoCorrect false.
- final SuggestedWords suggestedWords = new SuggestedWords(suggestions, typedWord,
+ final SuggestedWords suggestedWords = new SuggestedWords(suggestions,
+ null /* rawSuggestions */, typedWord,
true /* typedWordValid */, false /* willAutoCorrect */,
false /* isPunctuationSuggestions */, false /* isObsoleteSuggestions */,
false /* isPrediction */, SuggestedWords.NOT_A_SEQUENCE_NUMBER);