Merge "Fix for b/4126103: Segfault in widevine DRM plugin when sending DRM event" into honeycomb-mr1
This commit is contained in:
committed by
Android (Google) Code Review
commit
dac957507c
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user