From 87d58f85c14ef567c2be6af5b8459e1132b6a92b Mon Sep 17 00:00:00 2001 From: Jeff Tinker Date: Thu, 18 Jan 2018 23:47:53 -0800 Subject: [PATCH] Fix compile errors related to adding new MediaDrm methods bug:64001680 bug:33657579 Change-Id: I67cabf96b03c2217df6772fed18ce2cab3d9f625 --- libwvdrmengine/mediadrm/src/WVDrmPlugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libwvdrmengine/mediadrm/src/WVDrmPlugin.cpp b/libwvdrmengine/mediadrm/src/WVDrmPlugin.cpp index aea51dcf..169e7949 100644 --- a/libwvdrmengine/mediadrm/src/WVDrmPlugin.cpp +++ b/libwvdrmengine/mediadrm/src/WVDrmPlugin.cpp @@ -923,14 +923,14 @@ void WVDrmPlugin::OnExpirationUpdate(const CdmSessionId& cdmSessionId, status_t WVDrmPlugin::queryProperty(const std::string& property, std::string& stringValue) const { - SecurityLevel securityLevel = + wvcdm::SecurityLevel securityLevel = mPropertySet.security_level().compare(QUERY_VALUE_SECURITY_LEVEL_L3) == 0 ? kLevel3 : kLevelDefault; return queryProperty(securityLevel, property, stringValue); } -status_t WVDrmPlugin::queryProperty(SecurityLevel securityLevel, +status_t WVDrmPlugin::queryProperty(wvcdm::SecurityLevel securityLevel, const std::string& property, std::string& stringValue) const { CdmResponseType res =