Skip to content

Commit 3e09cc9

Browse files
Jeff BrownAndroid (Google) Code Review
authored andcommitted
Merge "Info logs should be loggable by default."
2 parents 6db53c3 + d56feb9 commit 3e09cc9

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)