We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a1741d commit f02d0b8Copy full SHA for f02d0b8
manager/app/src/main/cpp/jni.cc
@@ -8,7 +8,11 @@
8
#include "ksu.h"
9
10
#define LOG_TAG "KernelSU"
11
+#ifdef NDEBUG
12
+#define LOGD(...) (void)0
13
+#else
14
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__)
15
+#endif
16
17
extern "C"
18
JNIEXPORT jboolean JNICALL
@@ -305,4 +309,4 @@ extern "C"
305
309
306
310
Java_me_weishu_kernelsu_Natives_setSuEnabled(JNIEnv *env, jobject thiz, jboolean enabled) {
307
311
return set_su_enabled(enabled);
308
-}
312
+}
0 commit comments