Fix cut/paste typo confusing double/string

Bug: 119623662
Test: logcat
gugelfrei
Ray Essick 6 years ago
parent c74fafab6d
commit 9db7b817bd

@ -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