aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/InputTestsBase.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2013-08-20 04:06:59 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-08-20 04:06:59 -0700
commit197a883f56cf2e1c2a339bf3aa16aabb20725941 (patch)
tree29189e9ec4469acf7ee1f8bc36bb9107ce7eb899 /tests/src/com/android/inputmethod/latin/InputTestsBase.java
parent7abed29a7ad8d8f44b0d07fc66e929abf26ac8e8 (diff)
parent3f15c41d88c1060642cec87f02c3cdfd5b4c1cb8 (diff)
downloadlatinime-197a883f56cf2e1c2a339bf3aa16aabb20725941.tar.gz
latinime-197a883f56cf2e1c2a339bf3aa16aabb20725941.tar.xz
latinime-197a883f56cf2e1c2a339bf3aa16aabb20725941.zip
am 3f15c41d: Merge "[AC1] Add a memory of where to cut the first word."
* commit '3f15c41d88c1060642cec87f02c3cdfd5b4c1cb8': [AC1] Add a memory of where to cut the first word.
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/InputTestsBase.java')
-rw-r--r--tests/src/com/android/inputmethod/latin/InputTestsBase.java3
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