diff --git a/android/src/main/cpp/CameraView.cpp b/android/src/main/cpp/CameraView.cpp index c02cf00..de19887 100644 --- a/android/src/main/cpp/CameraView.cpp +++ b/android/src/main/cpp/CameraView.cpp @@ -37,7 +37,6 @@ void CameraView::frameProcessorCallback(const alias_ref auto frameStrong = make_local(frame); try { - __android_log_write(ANDROID_LOG_INFO, TAG, "Calling Frame Processor..."); frameProcessor_(frameStrong); } catch (const std::exception& exception) { // TODO: jsi::JSErrors cannot be caught on Hermes. They crash the entire app. diff --git a/android/src/main/cpp/FrameProcessorRuntimeManager.cpp b/android/src/main/cpp/FrameProcessorRuntimeManager.cpp index b939e44..200c060 100644 --- a/android/src/main/cpp/FrameProcessorRuntimeManager.cpp +++ b/android/src/main/cpp/FrameProcessorRuntimeManager.cpp @@ -133,8 +133,6 @@ void FrameProcessorRuntimeManager::installJSIBindings() { // assign lambda to frame processor cameraView->setFrameProcessor([&rt, function](jni::local_ref frame) { - __android_log_write(ANDROID_LOG_INFO, TAG, "Frame Processor called!"); - // create HostObject which holds the Frame (JImageProxy) auto hostObject = std::make_shared(frame); function->call(rt, jsi::Object::createFromHostObject(rt, hostObject)); diff --git a/android/src/main/cpp/JImageProxyHostObject.cpp b/android/src/main/cpp/JImageProxyHostObject.cpp index d2bf288..280f407 100644 --- a/android/src/main/cpp/JImageProxyHostObject.cpp +++ b/android/src/main/cpp/JImageProxyHostObject.cpp @@ -23,7 +23,6 @@ std::vector JImageProxyHostObject::getPropertyNames(jsi::Runtim jsi::Value JImageProxyHostObject::get(jsi::Runtime& runtime, const jsi::PropNameID& propNameId) { auto name = propNameId.utf8(runtime); - __android_log_write(ANDROID_LOG_INFO, TAG, ("Getting prop \"" + name + "\"...").c_str()); if (name == "toString") { auto toString = [this] (jsi::Runtime& runtime, const jsi::Value& thisValue, const jsi::Value* arguments, size_t count) -> jsi::Value { diff --git a/android/src/main/java/com/mrousavy/camera/CameraView.kt b/android/src/main/java/com/mrousavy/camera/CameraView.kt index 04919a1..aeea8b8 100644 --- a/android/src/main/java/com/mrousavy/camera/CameraView.kt +++ b/android/src/main/java/com/mrousavy/camera/CameraView.kt @@ -407,7 +407,6 @@ class CameraView(context: Context) : FrameLayout(context), LifecycleOwner { val now = System.currentTimeMillis() if (now - lastCall > intervalMs) { lastCall = now - Log.d(TAG, "Calling Frame Processor...") frameProcessorCallback(image) } image.close()