Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 96e780c9 authored by Mark Salyzyn's avatar Mark Salyzyn Committed by Gerrit Code Review
Browse files

Merge "jni: is loggable speedup, not within signal"

parents 376d5f35 c954fde0
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -42,7 +42,9 @@ struct levels_t {
static levels_t levels;

static jboolean isLoggable(const char* tag, jint level) {
    return __android_log_is_loggable(level, tag, ANDROID_LOG_INFO);
    return __android_log_is_loggable(level, tag,
                                     ANDROID_LOG_INFO |
                                     ANDROID_LOGGABLE_FLAG_NOT_WITHIN_SIGNAL);
}

static jboolean android_util_Log_isLoggable(JNIEnv* env, jobject clazz, jstring tag, jint level)