[Android] libvlcjni: use WeakReference compat before gingerbread mr1
Thomas Guillem
git at videolan.org
Fri May 22 12:15:38 CEST 2015
vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri May 22 12:14:41 2015 +0200| [71b27842062b0a160331e455c542a05e0c583bda] | committer: Thomas Guillem
libvlcjni: use WeakReference compat before gingerbread mr1
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=71b27842062b0a160331e455c542a05e0c583bda
---
libvlc/jni/libvlcjni.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libvlc/jni/libvlcjni.c b/libvlc/jni/libvlcjni.c
index e79b7f1..8317afe 100644
--- a/libvlc/jni/libvlcjni.c
+++ b/libvlc/jni/libvlcjni.c
@@ -341,9 +341,9 @@ jint JNI_OnLoad(JavaVM *vm, void *reserved)
fields.VLCObject.clazz,
"dispatchEventFromNative", "(IJJ)V");
- if (fields.SDK_INT <= 7)
+ if (fields.SDK_INT <= 10)
{
- LOGE("fields.SDK_INT is less than 7: using compat WeakReference");
+ LOGE("fields.SDK_INT is less than 10: using compat WeakReference");
GET_ID(GetMethodID,
fields.VLCObject.getWeakReferenceID,
fields.VLCObject.clazz,
More information about the Android
mailing list