Correctly handle local display only for SRM version.
[ Merge of http://go/wvgerrit/105343 ] If a device only supports local display (eliminating the need for an SRM version), then the CDM should treat this as no SRM version. Bug: 166009716 Test: License request integration test Change-Id: I2d9c3f98735563df6d7c7a287abab41bf0a8c513
This commit is contained in:
@@ -356,6 +356,7 @@ static Status mapCdmResponseType(wvcdm::CdmResponseType res) {
|
||||
case wvcdm::SHRINK_USAGE_TABLE_HEADER_ENTRY_IN_USE:
|
||||
case wvcdm::LICENSE_USAGE_ENTRY_MISSING:
|
||||
case wvcdm::PROVISIONING_NOT_ALLOWED_FOR_ATSC:
|
||||
case wvcdm::NO_SRM_VERSION:
|
||||
ALOGW("Returns UNKNOWN error for legacy status: %d", res);
|
||||
return Status::ERROR_DRM_UNKNOWN;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user