Fix for b/4126103: Segfault in widevine DRM plugin when sending DRM event
Change-Id: Ib892b3ca259b364e4ef04ee34d5a8b9d4458812f
This commit is contained in:
@@ -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