From ab5912959435c1901e268bc9766090e604f3523d Mon Sep 17 00:00:00 2001 From: Mohammadinamul Sheik Date: Thu, 19 Mar 2015 16:07:04 -0700 Subject: Add prev words context to the SuggestedWordInfo. Bug: 19712589 Bug: 19715579 Change-Id: Ie06665cab8405455c1b0a2ff034e0bb0731c9156 --- tests/src/com/android/inputmethod/latin/InputTestsBase.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/src/com/android/inputmethod/latin/InputTestsBase.java') diff --git a/tests/src/com/android/inputmethod/latin/InputTestsBase.java b/tests/src/com/android/inputmethod/latin/InputTestsBase.java index ab4060a86..0d9b36ac0 100644 --- a/tests/src/com/android/inputmethod/latin/InputTestsBase.java +++ b/tests/src/com/android/inputmethod/latin/InputTestsBase.java @@ -409,7 +409,8 @@ public class InputTestsBase extends ServiceTestCase { } protected void pickSuggestionManually(final String suggestion) { - mLatinIME.pickSuggestionManually(new SuggestedWordInfo(suggestion, 1, + mLatinIME.pickSuggestionManually(new SuggestedWordInfo(suggestion, + "" /* prevWordsContext */, 1 /* score */, SuggestedWordInfo.KIND_CORRECTION, DICTIONARY_TEST, SuggestedWordInfo.NOT_AN_INDEX /* indexOfTouchPointOfSecondWord */, SuggestedWordInfo.NOT_A_CONFIDENCE /* autoCommitFirstWordConfidence */)); -- cgit v1.2.3-83-g751a