[Android] MlJNI: remove forgotten logs
Duncan McNamara
git at videolan.org
Fri Nov 18 12:29:46 UTC 2022
vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Wed Nov 16 14:47:35 2022 +0100| [762d336e2d36f6106fe40371c7359a8b6d2615df] | committer: Nicolas Pomepuy
MlJNI: remove forgotten logs
> https://code.videolan.org/videolan/vlc-android/commit/762d336e2d36f6106fe40371c7359a8b6d2615df
---
medialibrary/jni/medialibrary.cpp | 3 ---
1 file changed, 3 deletions(-)
diff --git a/medialibrary/jni/medialibrary.cpp b/medialibrary/jni/medialibrary.cpp
index a86295a9f0..ce2c81d104 100644
--- a/medialibrary/jni/medialibrary.cpp
+++ b/medialibrary/jni/medialibrary.cpp
@@ -2131,9 +2131,6 @@ getService(JNIEnv* env, jobject thiz, jint _type)
AndroidMediaLibrary *aml = MediaLibrary_getInstance(env, thiz);
medialibrary::IService::Type type = (medialibrary::IService::Type)_type;
medialibrary::ServicePtr servicePtr = aml->service(type);
- if (servicePtr == NULL) LOGE("Service Ptr null");
- if (ml_fields.Service.clazz == NULL) LOGE("ml_fields.Service.clazz Ptr null");
- if (ml_fields.Service.initID == NULL) LOGE("ml_fields.Service.initID Ptr null");
jobject serviceObject = env->NewObject(ml_fields.Service.clazz,
ml_fields.Service.initID, (jint) servicePtr->type());
return serviceObject;
More information about the Android
mailing list