diff options
| author | 2012-04-02 10:53:17 -0700 | |
|---|---|---|
| committer | 2012-04-02 10:53:17 -0700 | |
| commit | d56feb91b4b1ac9cd0e9b37dfa20d137825fbbfd (patch) | |
| tree | 89448f0699b1cdaaaf0226aad2bd0c22d3a9f04c | |
| parent | e6c966caa3aff3099e6fb00caefa10387f57b9c3 (diff) | |
Info logs should be loggable by default.
Bug: 6265031
Change-Id: I6f10818c1d28fa71f434d4b372c764d04967d213
| -rw-r--r-- | core/jni/android_util_Log.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android_util_Log.cpp b/core/jni/android_util_Log.cpp index 289517162322..536a582aff45 100644 --- a/core/jni/android_util_Log.cpp +++ b/core/jni/android_util_Log.cpp @@ -64,7 +64,7 @@ static jboolean isLoggable(const char* tag, jint level) { char buf[PROPERTY_VALUE_MAX]; if (property_get(key.string(), buf, "") <= 0) { - return false; + buf[0] = '\0'; } int logLevel = toLevel(buf); |