Skip to content

Commit d56feb9

Browse files
author
Jeff Brown
committed
Info logs should be loggable by default.
Bug: 6265031 Change-Id: I6f10818c1d28fa71f434d4b372c764d04967d213
1 parent e6c966c commit d56feb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/jni/android_util_Log.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ static jboolean isLoggable(const char* tag, jint level) {
6464

6565
char buf[PROPERTY_VALUE_MAX];
6666
if (property_get(key.string(), buf, "") <= 0) {
67-
return false;
67+
buf[0] = '\0';
6868
}
6969

7070
int logLevel = toLevel(buf);

0 commit comments

Comments
 (0)