You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
api-impl-jni: fix CheckJNI error for View.onClick
This commit is contained in:
@@ -39,7 +39,7 @@ static void clicked_cb(GtkWidget *button, struct touch_callback_data *d) {
|
||||
JNIEnv *env;
|
||||
(*d->jvm)->GetEnv(d->jvm, (void**)&env, JNI_VERSION_1_6);
|
||||
|
||||
(*env)->CallBooleanMethod(env, d->listener, d->listener_method, d->this);
|
||||
(*env)->CallVoidMethod(env, d->listener, d->listener_method, d->this);
|
||||
|
||||
if((*env)->ExceptionCheck(env))
|
||||
(*env)->ExceptionDescribe(env);
|
||||
|
||||
Reference in New Issue
Block a user