Add error codes to support ATSC license installation

[ Merge of http://go/wvgerrit/163899 ]

Bug: 176871821
Test: WV Unit/integration/Luci tests
Test: libwvdrmdrmplugin_hal_test
Change-Id: I0153093433715b1357d3854043cc6362f9261c57
This commit is contained in:
Rahul Frias
2022-12-17 18:46:06 -08:00
parent 0080d04579
commit 233bac3a6f
3 changed files with 8 additions and 0 deletions

View File

@@ -447,6 +447,8 @@ static inline WvStatus mapCdmResponseType(wvcdm::CdmResponseType res) {
case wvcdm::UNPROVISION_ERROR_3:
case wvcdm::USAGE_STORE_LICENSE_FAILED:
case wvcdm::USAGE_STORE_USAGE_INFO_FAILED:
case wvcdm::STORE_ATSC_LICENSE_DEVICE_FILES_INIT_ERROR:
case wvcdm::STORE_ATSC_LICENSE_ERROR:
err = Status::STORAGE_WRITE_FAILURE;
break;
default: