summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--liblog/properties.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/liblog/properties.c b/liblog/properties.c
index c71cbcfc1..11be8279f 100644
--- a/liblog/properties.c
+++ b/liblog/properties.c
@@ -459,6 +459,9 @@ LIBLOG_ABI_PRIVATE bool __android_logger_property_get_bool(const char* key,
459 if (check_flag(property.property, "false")) { 459 if (check_flag(property.property, "false")) {
460 return false; 460 return false;
461 } 461 }
462 if (property.property[0]) {
463 flag &= ~(BOOL_DEFAULT_FLAG_ENG | BOOL_DEFAULT_FLAG_SVELTE);
464 }
462 if (check_flag(property.property, "eng")) { 465 if (check_flag(property.property, "eng")) {
463 flag |= BOOL_DEFAULT_FLAG_ENG; 466 flag |= BOOL_DEFAULT_FLAG_ENG;
464 } 467 }