Piped CdmEngine's generic crypto operations to Android CDM.
[ Merge of http://go/wvgerrit/172010 ] The CdmEngine provides an API for generic crypto operations that are already used for the CE CDM. This API is being exposed in the Android CDM. The parameter order of the Android CDM is modified to match the existing generic crypto parameters used in the media DRM plugin. Bug: 274984456 Bug: 29400687 Test: build x86-64 and Android Change-Id: I3b286ebb011bd58754b7b8ea814ed46daf1f62f9
This commit is contained in:
@@ -75,6 +75,7 @@ static inline WvStatus mapCdmResponseType(wvcdm::CdmResponseType res) {
|
||||
case wvcdm::SESSION_NOT_FOUND_21:
|
||||
case wvcdm::SESSION_NOT_FOUND_22:
|
||||
case wvcdm::SESSION_NOT_FOUND_23:
|
||||
case wvcdm::SESSION_NOT_FOUND_GENERIC_CRYPTO:
|
||||
err = Status::ERROR_DRM_SESSION_NOT_OPENED;
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user