diff --git a/proprietary/drmwvmplugin/src/WVMDrmPlugin.cpp b/proprietary/drmwvmplugin/src/WVMDrmPlugin.cpp index 4a5ee275..5285b836 100644 --- a/proprietary/drmwvmplugin/src/WVMDrmPlugin.cpp +++ b/proprietary/drmwvmplugin/src/WVMDrmPlugin.cpp @@ -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); } }