Merge "Return false if incorrect event value type"

This commit is contained in:
Christine Tsai
2019-10-31 23:14:01 +00:00
committed by Android (Google) Code Review

View File

@@ -650,6 +650,7 @@ bool getDoubleOrLong(const LogEvent& event, const Matcher& matcher, Value& ret)
ret.setDouble(value.mValue.double_value);
break;
default:
return false;
break;
}
return true;