diff --git a/manager/app/src/main/cpp/prelude.h b/manager/app/src/main/cpp/prelude.h index 40650e68..780d8414 100644 --- a/manager/app/src/main/cpp/prelude.h +++ b/manager/app/src/main/cpp/prelude.h @@ -61,6 +61,10 @@ GetEnvironment()->NewObject(env, cls, constructor, __VA_ARGS__); \ }) +#ifdef NDEBUG +#define LogDebug(...) (void)0 +#else #define LogDebug(...) __android_log_print(ANDROID_LOG_DEBUG, "KernelSU", __VA_ARGS__) +#endif #endif