From 6c749ec8c5ee0c9959a50d08ebf43bf9b67b2063 Mon Sep 17 00:00:00 2001 From: Hussein Kasem Date: Thu, 20 Oct 2016 14:27:10 +0200 Subject: [PATCH] Disable NDK/JNI log --- src/jniutils.hh | 2 +- src/org_pEp_jniadapter_AbstractEngine.cc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jniutils.hh b/src/jniutils.hh index dd038f5..5d9df07 100644 --- a/src/jniutils.hh +++ b/src/jniutils.hh @@ -8,7 +8,7 @@ #include #include -#if 1 // Enable if log needed +#if 0 // Enable if log needed #include #define LOG_TAG "PEPJNIUTILS" #define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__) diff --git a/src/org_pEp_jniadapter_AbstractEngine.cc b/src/org_pEp_jniadapter_AbstractEngine.cc index 2753d3f..d19016d 100644 --- a/src/org_pEp_jniadapter_AbstractEngine.cc +++ b/src/org_pEp_jniadapter_AbstractEngine.cc @@ -207,6 +207,7 @@ extern "C" { // Called by sync thread only PEP_STATUS show_handshake(void *obj, pEp_identity *me, pEp_identity *partner) { + LOGD("ShowHandshake"); jobject me_ = NULL; jobject partner_ = NULL;