Frameworks/base: Fix FingerprintManager JNI

Register the right method.

Change-Id: I0806c2fa8f29ddef75caaf94092f72e644ae6d06
This commit is contained in:
Andreas Gampe
2014-11-11 00:18:55 -08:00
parent 71f83672f2
commit 7c8201b61f

View File

@@ -184,7 +184,7 @@ static jint nativeCloseHal(JNIEnv* env, jobject clazz) {
// TODO: clean up void methods
static const JNINativeMethod g_methods[] = {
{ "nativeEnroll", "(I)I", (void*)nativeEnroll },
{ "nativeEnrollCancel", "()I", (void*)nativeEnroll },
{ "nativeEnrollCancel", "()I", (void*)nativeEnrollCancel },
{ "nativeRemove", "(I)I", (void*)nativeRemove },
{ "nativeOpenHal", "()I", (void*)nativeOpenHal },
{ "nativeCloseHal", "()I", (void*)nativeCloseHal },