Revert "Detect when unable to meet policy requirements"
This reverts commit 1223330ccc.
b/37460568
Change-Id: I936c06f679126ac50fb2d4753b4270b4ba42def5
This commit is contained in:
@@ -553,9 +553,6 @@ CdmResponseType CdmSession::Decrypt(const CdmDecryptionParameters& params) {
|
||||
return policy_engine_->IsLicenseForFuture() ? DECRYPT_NOT_READY : NEED_KEY;
|
||||
}
|
||||
|
||||
if (!policy_engine_->CanUseKey(*params.key_id, security_level_))
|
||||
return KEY_PROHIBITED_FOR_SECURITY_LEVEL;
|
||||
|
||||
CdmResponseType status = crypto_session_->Decrypt(params);
|
||||
|
||||
if (status == NO_ERROR) {
|
||||
|
||||
Reference in New Issue
Block a user