aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-11-19 08:34:08 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-11-19 08:34:08 +0000
commit6cea754895872d208c8b6a3bc2f9c26d21746b33 (patch)
tree0cbbb7e16107500ff3a12172a7560fe70c1f5824 /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
parent8833756d522e247f40b6824f642ee3f5a67e1086 (diff)
parentfde0cce1037a635c34e55baa17424f8eff53b6da (diff)
downloadlatinime-6cea754895872d208c8b6a3bc2f9c26d21746b33.tar.gz
latinime-6cea754895872d208c8b6a3bc2f9c26d21746b33.tar.xz
latinime-6cea754895872d208c8b6a3bc2f9c26d21746b33.zip
am fde0cce1: Merge "Remove the other deprecated constructor to SuggestedWords"
* commit 'fde0cce1037a635c34e55baa17424f8eff53b6da': Remove the other deprecated constructor to SuggestedWords
Diffstat (limited to 'java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java')
-rw-r--r--java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
index c034055ab..e6d69a92f 100644
--- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
+++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
@@ -1884,8 +1884,9 @@ public final class InputLogic {
final ArrayList<SuggestedWords.SuggestedWordInfo> typedWordAndPreviousSuggestions =
SuggestedWords.getTypedWordAndPreviousSuggestions(typedWord, oldSuggestedWords);
return new SuggestedWords(typedWordAndPreviousSuggestions, null /* rawSuggestions */,
- false /* typedWordValid */, false /* hasAutoCorrectionCandidate */,
- true /* isObsoleteSuggestions */, oldSuggestedWords.mInputStyle);
+ typedWord, false /* typedWordValid */, false /* hasAutoCorrectionCandidate */,
+ true /* isObsoleteSuggestions */, oldSuggestedWords.mInputStyle,
+ SuggestedWords.NOT_A_SEQUENCE_NUMBER);
}
/**