Snap for 8191477 from 93b5514a27 to tm-release

Change-Id: I96389a87d6a790da65510cf29d6a9983a1cab9a0
This commit is contained in:
Android Build Coastguard Worker
2022-02-17 02:20:17 +00:00

View File

@@ -147,8 +147,7 @@ SharedBufferBase::~SharedBufferBase() {
uint8_t* srcPtr = nullptr;
void* destPtr = nullptr;
// Convert parameters to the form the CDM wishes to consume them in.
const KeyId cryptoKey(reinterpret_cast<const char*>(in_args.keyId.data()),
wvcdm::KEY_ID_SIZE);
const KeyId cryptoKey(in_args.keyId.begin(), in_args.keyId.end());
// start scope for lock_guard
{