diff options
author | 2013-08-20 12:21:07 +0900 | |
---|---|---|
committer | 2013-08-20 18:43:19 +0900 | |
commit | ef1e363016623ccf409c8c270f2c1e35a67734c9 (patch) | |
tree | f4627781dcf73e7383f68101c88ffe8afadfe442 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 065aad9501ae446aee5d73450c01dc21b8f3242a (diff) | |
download | latinime-ef1e363016623ccf409c8c270f2c1e35a67734c9.tar.gz latinime-ef1e363016623ccf409c8c270f2c1e35a67734c9.tar.xz latinime-ef1e363016623ccf409c8c270f2c1e35a67734c9.zip |
[AC1] Add a memory of where to cut the first word.
Bug: 9059617
Change-Id: I931b6d1eb49f9f7dd7d5b18956e35751d1b2b631
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index ee7478ca2..2a2ac02e3 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -2584,7 +2584,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen if (!TextUtils.equals(s, typedWord)) { suggestions.add(new SuggestedWordInfo(s, SuggestionStripView.MAX_SUGGESTIONS - i, - SuggestedWordInfo.KIND_RESUMED, Dictionary.TYPE_RESUMED)); + SuggestedWordInfo.KIND_RESUMED, Dictionary.TYPE_RESUMED, + SuggestedWordInfo.NOT_AN_INDEX /* indexOfTouchPointOfSecondWord */)); } } } |