Source release 16.3.0
This commit is contained in:
@@ -102,6 +102,8 @@ class PropertySet final : public CdmClientPropertySet {
|
||||
return empty_string_;
|
||||
}
|
||||
|
||||
bool use_atsc_mode() const override { return false; }
|
||||
|
||||
private:
|
||||
bool use_privacy_mode_;
|
||||
std::string licensing_service_certificate_;
|
||||
@@ -498,7 +500,7 @@ Cdm::Status CdmImpl::getProvisioningRequest(std::string* request) {
|
||||
std::string ignored_base_url;
|
||||
CdmResponseType result = cdm_engine_->GetProvisioningRequest(
|
||||
kCertificateWidevine, empty_authority, provisioning_service_certificate_,
|
||||
request, &ignored_base_url);
|
||||
kLevelDefault, request, &ignored_base_url);
|
||||
if (result == CERT_PROVISIONING_NONCE_GENERATION_ERROR) {
|
||||
LOGE("Nonce quota exceeded");
|
||||
return kResourceContention;
|
||||
@@ -517,7 +519,7 @@ Cdm::Status CdmImpl::handleProvisioningResponse(const std::string& response) {
|
||||
std::string ignored_wrapped_key;
|
||||
|
||||
CdmResponseType result = cdm_engine_->HandleProvisioningResponse(
|
||||
response, &ignored_cert, &ignored_wrapped_key);
|
||||
response, kLevelDefault, &ignored_cert, &ignored_wrapped_key);
|
||||
if (result == SYSTEM_INVALIDATED_ERROR) {
|
||||
LOGE("System invalidated");
|
||||
return kSystemStateLost;
|
||||
|
||||
@@ -149,9 +149,10 @@ bool Properties::GetFactoryKeyboxPath(std::string*) {
|
||||
}
|
||||
|
||||
// static
|
||||
bool Properties::GetOEMCryptoPath(std::string*) {
|
||||
// Unused on CE devices.
|
||||
return false;
|
||||
bool Properties::GetOEMCryptoPath(std::string* path) {
|
||||
if (path == nullptr) return false;
|
||||
*path = "liboemcrypto.so";
|
||||
return true;
|
||||
}
|
||||
|
||||
// static
|
||||
|
||||
Reference in New Issue
Block a user