am 20a8a4a3: Fix native method signature
* commit '20a8a4a3d9844dc2437fd1ca6325559bb2c3a644': Fix native method signaturemain
commit
bafcf362b0
|
@ -25,7 +25,9 @@ import com.android.inputmethod.latin.settings.SpacingAndPunctuations;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
|
|
||||||
public class LanguageModelParam {
|
// Note: this class is used as a parameter type of a native method. You should be careful when you
|
||||||
|
// rename this class or field name. See BinaryDictionary#addMultipleDictionaryEntriesNative().
|
||||||
|
public final class LanguageModelParam {
|
||||||
private static final String TAG = LanguageModelParam.class.getSimpleName();
|
private static final String TAG = LanguageModelParam.class.getSimpleName();
|
||||||
private static final boolean DEBUG = false;
|
private static final boolean DEBUG = false;
|
||||||
private static final boolean DEBUG_TOKEN = false;
|
private static final boolean DEBUG_TOKEN = false;
|
||||||
|
|
|
@ -541,7 +541,7 @@ static const JNINativeMethod sMethods[] = {
|
||||||
{
|
{
|
||||||
const_cast<char *>("addMultipleDictionaryEntriesNative"),
|
const_cast<char *>("addMultipleDictionaryEntriesNative"),
|
||||||
const_cast<char *>(
|
const_cast<char *>(
|
||||||
"(J[Lcom/android/inputmethod/latin/BinaryDictionary$LanguageModelParam;I)I"),
|
"(J[Lcom/android/inputmethod/latin/utils/LanguageModelParam;I)I"),
|
||||||
reinterpret_cast<void *>(latinime_BinaryDictionary_addMultipleDictionaryEntries)
|
reinterpret_cast<void *>(latinime_BinaryDictionary_addMultipleDictionaryEntries)
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue