Do not fall back to L3 if L1 has test keybox

ag/26105061 accidentally reverted some of these changes so I am pushing
up another patch to add them back in.

[ Merged of go/wvgerrit/186370 ]

CDM by default allows test keybox from device side.

Bug: 299987160
Bug: 301669353
Change-Id: I6acf93c78f76a13f2c4539aabfd0262670b54c48
This commit is contained in:
Kyle Zhang
2023-10-19 05:13:27 +00:00
committed by Vicky Min
parent 7fd4541eab
commit 069782c6f6
8 changed files with 0 additions and 110 deletions

View File

@@ -237,10 +237,6 @@ class WvContentDecryptionModule : public android::RefBase, public TimerHandler {
// device to request a keybox OTA reprovisioning.
virtual CdmResponseType SetDebugIgnoreKeyboxCount(uint32_t count);
// Allow the device to continue with a test keybox. Otherwise, it will fall
// back to L3.
virtual CdmResponseType SetAllowTestKeybox(bool allow);
virtual CdmResponseType SetDecryptHash(const std::string& hash_data,
CdmSessionId* session_id);
virtual CdmResponseType GetDecryptHashError(const CdmSessionId& session_id,