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

Skip to content
Snippets Groups Projects
Commit 33a0db92 authored by Mark Salyzyn's avatar Mark Salyzyn Committed by android-build-merger
Browse files

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

am: 96e780c9

* commit '96e780c9':
  jni: is loggable speedup, not within signal
parents 7a38be61 96e780c9
Branches
No related tags found
No related merge requests found
...@@ -42,7 +42,9 @@ struct levels_t { ...@@ -42,7 +42,9 @@ struct levels_t {
static levels_t levels; static levels_t levels;
static jboolean isLoggable(const char* tag, jint level) { 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) static jboolean android_util_Log_isLoggable(JNIEnv* env, jobject clazz, jstring tag, jint level)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment