Merge "Fixed test and log formatting for CdmResponseType." into udc-dev

This commit is contained in:
Alex Dale
2023-03-28 19:21:20 +00:00
committed by Android (Google) Code Review
21 changed files with 149 additions and 108 deletions

View File

@@ -306,7 +306,7 @@ SharedBufferBase::~SharedBufferBase() {
} else {
ALOGE("Decrypt error in session %s during a sample %s protected data: %d",
mSessionId.c_str(), hasProtectedData ? "with" : "without", static_cast<int>(res));
switch (res.Enum()) {
switch (res.code()) {
case wvcdm::INSUFFICIENT_CRYPTO_RESOURCES:
errorDetailMsg->assign(
"Error decrypting data: insufficient crypto resources");