diff options
author | 2014-02-06 15:51:04 +0900 | |
---|---|---|
committer | 2014-02-06 16:14:41 +0900 | |
commit | a49f61f8a73e64cb4db4f7ee5c0fe54fc40b367c (patch) | |
tree | 13098eb57369547a1298622960a1fb1a03305faf /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 58eed6360db7f8d2ba12ab34d18656f8ec7b6116 (diff) | |
download | latinime-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/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index e55c08dae..ef9eb8cca 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -997,7 +997,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen SuggestedWords.getFromApplicationSpecifiedCompletions( applicationSpecifiedCompletions); final SuggestedWords suggestedWords = new SuggestedWords( - applicationSuggestedWords, + applicationSuggestedWords, null /* rawSuggestions */, false /* typedWordValid */, false /* willAutoCorrect */, false /* isPunctuationSuggestions */, @@ -1417,7 +1417,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen ? SuggestedWords.EMPTY : previousSuggestedWords; final ArrayList<SuggestedWords.SuggestedWordInfo> typedWordAndPreviousSuggestions = SuggestedWords.getTypedWordAndPreviousSuggestions(typedWord, oldSuggestedWords); - return new SuggestedWords(typedWordAndPreviousSuggestions, + return new SuggestedWords(typedWordAndPreviousSuggestions, null /* rawSuggestions */, false /* typedWordValid */, false /* hasAutoCorrectionCandidate */, false /* isPunctuationSuggestions */, |