Merge "Fix cut/paste typo confusing double/string"

gugelfrei
TreeHugger Robot 6 years ago committed by Android (Google) Code Review
commit c40d87ea84

@ -478,7 +478,7 @@ bool MediaAnalyticsItem::getDouble(MediaAnalyticsItem::Attr name, double *value)
// caller responsible for the returned string
bool MediaAnalyticsItem::getCString(MediaAnalyticsItem::Attr name, char **value) {
Prop *prop = findProp(name);
if (prop == NULL || prop->mType != kTypeDouble) {
if (prop == NULL || prop->mType != kTypeCString) {
return false;
}
if (value != NULL) {

Loading…
Cancel
Save