From 7ff4da9489df0cc8fffce390a42510b4cfb86549 Mon Sep 17 00:00:00 2001 From: satok Date: Fri, 16 Jul 2010 17:38:25 +0900 Subject: [PATCH] Fix build failure by adding an input Change-Id: I0f8f7549423deb6d18df4cca949b210c9ec494a5 --- .../com/android/inputmethod/latin/BinaryDictionary.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/java/src/com/android/inputmethod/latin/BinaryDictionary.java b/java/src/com/android/inputmethod/latin/BinaryDictionary.java index fad56c5d9..a1e9adf2e 100644 --- a/java/src/com/android/inputmethod/latin/BinaryDictionary.java +++ b/java/src/com/android/inputmethod/latin/BinaryDictionary.java @@ -92,7 +92,8 @@ public class BinaryDictionary extends Dictionary { mDicTypeId = dicTypeId; } - private native int openNative(ByteBuffer bb, int typedLetterMultiplier, int fullWordMultiplier); + private native int openNative(ByteBuffer bb, int typedLetterMultiplier, + int fullWordMultiplier); private native void closeNative(int dict); private native boolean isValidWordNative(int nativeData, char[] word, int wordLength); private native int getSuggestionsNative(int dict, int[] inputCodes, int codesSize, @@ -146,7 +147,7 @@ public class BinaryDictionary extends Dictionary { } if (len > 0) { callback.addWord(mOutputChars_bigrams, start, len, mFrequencies_bigrams[j], - DataType.BIGRAM); + mDicTypeId, DataType.BIGRAM); } } } @@ -196,7 +197,8 @@ public class BinaryDictionary extends Dictionary { len++; } if (len > 0) { - callback.addWord(mOutputChars, start, len, mFrequencies[j], mDicTypeId, DataType.UNIGRAM); + callback.addWord(mOutputChars, start, len, mFrequencies[j], mDicTypeId, + DataType.UNIGRAM); } } }