Merge "Fix compile errors related to adding new MediaDrm methods"
This commit is contained in:
committed by
Android (Google) Code Review
commit
9876af2f96
@@ -923,14 +923,14 @@ void WVDrmPlugin::OnExpirationUpdate(const CdmSessionId& cdmSessionId,
|
|||||||
|
|
||||||
status_t WVDrmPlugin::queryProperty(const std::string& property,
|
status_t WVDrmPlugin::queryProperty(const std::string& property,
|
||||||
std::string& stringValue) const {
|
std::string& stringValue) const {
|
||||||
SecurityLevel securityLevel =
|
wvcdm::SecurityLevel securityLevel =
|
||||||
mPropertySet.security_level().compare(QUERY_VALUE_SECURITY_LEVEL_L3) == 0
|
mPropertySet.security_level().compare(QUERY_VALUE_SECURITY_LEVEL_L3) == 0
|
||||||
? kLevel3
|
? kLevel3
|
||||||
: kLevelDefault;
|
: kLevelDefault;
|
||||||
return queryProperty(securityLevel, property, stringValue);
|
return queryProperty(securityLevel, property, stringValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
status_t WVDrmPlugin::queryProperty(SecurityLevel securityLevel,
|
status_t WVDrmPlugin::queryProperty(wvcdm::SecurityLevel securityLevel,
|
||||||
const std::string& property,
|
const std::string& property,
|
||||||
std::string& stringValue) const {
|
std::string& stringValue) const {
|
||||||
CdmResponseType res =
|
CdmResponseType res =
|
||||||
|
|||||||
Reference in New Issue
Block a user