From e8ef09567077211da034a77b457fd5f87e70f6f0 Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Tue, 20 Aug 2013 16:11:03 +0900 Subject: [AC2] Reference a dict rather than a string in suggestion infos Bug: 9059617 Change-Id: Ic17bc0fd5d812268fd37d7fd35b4e9ebfb95fa5e --- java/src/com/android/inputmethod/latin/BinaryDictionary.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/src/com/android/inputmethod/latin/BinaryDictionary.java') diff --git a/java/src/com/android/inputmethod/latin/BinaryDictionary.java b/java/src/com/android/inputmethod/latin/BinaryDictionary.java index 32732ac83..eb19ef932 100644 --- a/java/src/com/android/inputmethod/latin/BinaryDictionary.java +++ b/java/src/com/android/inputmethod/latin/BinaryDictionary.java @@ -179,7 +179,7 @@ public final class BinaryDictionary extends Dictionary { // TODO: check that all users of the `kind' parameter are ready to accept // flags too and pass mOutputTypes[j] instead of kind suggestions.add(new SuggestedWordInfo(new String(mOutputCodePoints, start, len), - score, kind, mDictType, + score, kind, this /* sourceDict */, mSpaceIndices[0] /* indexOfTouchPointOfSecondWord */)); } } -- cgit v1.2.3-83-g751a