Merge "Fix for b/4126103: Segfault in widevine DRM plugin when sending DRM event" into honeycomb-mr1

This commit is contained in:
Jeffrey Tinker
2011-03-17 17:26:12 -07:00
committed by Android (Google) Code Review

View File

@@ -128,7 +128,8 @@ void WVMDrmPlugin::SendEvent(WVDRMPluginAPI::EventType type, const std::string &
}
if (sOnInfoListener) {
DrmInfoEvent event(sUniqueId, code, String8(path.c_str()));
String8 msg = String8(path.c_str());
DrmInfoEvent event(sUniqueId, code, msg);
sOnInfoListener->onInfo(event);
}
}