Merge "liblog: __android_logger_property_bool svelte+eng default"

This commit is contained in:
Mark Salyzyn 2017-04-19 14:55:19 +00:00 committed by Gerrit Code Review
commit 8b318d0c26

View file

@ -459,6 +459,9 @@ LIBLOG_ABI_PRIVATE bool __android_logger_property_get_bool(const char* key,
if (check_flag(property.property, "false")) {
return false;
}
if (property.property[0]) {
flag &= ~(BOOL_DEFAULT_FLAG_ENG | BOOL_DEFAULT_FLAG_SVELTE);
}
if (check_flag(property.property, "eng")) {
flag |= BOOL_DEFAULT_FLAG_ENG;
}