diff options
author | 2013-08-20 12:21:07 +0900 | |
---|---|---|
committer | 2013-08-20 18:43:19 +0900 | |
commit | ef1e363016623ccf409c8c270f2c1e35a67734c9 (patch) | |
tree | f4627781dcf73e7383f68101c88ffe8afadfe442 /tests/src/com/android/inputmethod/latin/InputTestsBase.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 'tests/src/com/android/inputmethod/latin/InputTestsBase.java')
-rw-r--r-- | tests/src/com/android/inputmethod/latin/InputTestsBase.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/src/com/android/inputmethod/latin/InputTestsBase.java b/tests/src/com/android/inputmethod/latin/InputTestsBase.java index 480570e62..500e8631d 100644 --- a/tests/src/com/android/inputmethod/latin/InputTestsBase.java +++ b/tests/src/com/android/inputmethod/latin/InputTestsBase.java @@ -258,7 +258,8 @@ public class InputTestsBase extends ServiceTestCase<LatinIMEForTests> { protected void pickSuggestionManually(final int index, final String suggestion) { mLatinIME.pickSuggestionManually(index, new SuggestedWordInfo(suggestion, 1, - SuggestedWordInfo.KIND_CORRECTION, "main")); + SuggestedWordInfo.KIND_CORRECTION, "main", + SuggestedWordInfo.NOT_AN_INDEX /* indexOfTouchPointOfSecondWord */)); } // Helper to avoid writing the try{}catch block each time |