Merge "jni: is loggable speedup, not within signal"
am: 96e780c99c
* commit '96e780c99c46e805989b7f1d6486cef96c7d2c27':
jni: is loggable speedup, not within signal
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user