hidl: return BAD_VALUE from RemoveOfflineLicense when keyset is not found
Bug: 127828539 Test: VtsHalDrmV1_2TargetTest Change-Id: Ia567be076a9460546c59c2a38231e18bb0549ce3
This commit is contained in:
@@ -354,6 +354,9 @@ static Status mapCdmResponseType(wvcdm::CdmResponseType res) {
|
||||
ALOGW("Returns UNKNOWN error for legacy status: %d", res);
|
||||
return Status::ERROR_DRM_UNKNOWN;
|
||||
|
||||
case wvcdm::KEYSET_ID_NOT_FOUND_4:
|
||||
return Status::BAD_VALUE;
|
||||
|
||||
case wvcdm::UNKNOWN_ERROR:
|
||||
return Status::ERROR_DRM_UNKNOWN;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user