[Android] LibVlc dialog: fix jni call (to squash)

Thomas Guillem git at videolan.org
Wed Feb 3 14:36:50 CET 2016


vlc-android | branch: dialog | Thomas Guillem <thomas at gllm.fr> | Wed Feb  3 14:36:27 2016 +0100| [f41d7bade96662f8ee0cf3dab23f453fe1622fb4] | committer: Thomas Guillem

LibVlc dialog: fix jni call (to squash)

> https://code.videolan.org/videolan/vlc-android/commit/f41d7bade96662f8ee0cf3dab23f453fe1622fb4
---

 libvlc/jni/libvlcjni-dialog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvlc/jni/libvlcjni-dialog.c b/libvlc/jni/libvlcjni-dialog.c
index 3feec60..8d7446d 100644
--- a/libvlc/jni/libvlcjni-dialog.c
+++ b/libvlc/jni/libvlcjni-dialog.c
@@ -43,7 +43,7 @@ display_cb(libvlc_dialog_id *p_id, libvlc_dialog *p_dialog, void *p_data)
     switch (p_dialog->i_type)
     {
     case LIBVLC_DIALOG_ERROR:
-        (*env)->CallStaticObjectMethod(env, fields.Dialog.clazz,
+        (*env)->CallStaticVoidMethod(env, fields.Dialog.clazz,
             fields.Dialog.displayErrorFromNativeID,
             (*env)->NewStringUTF(env, p_dialog->psz_text),
             (*env)->NewStringUTF(env, p_dialog->psz_title));



More information about the Android mailing list