Remove error code INVALID_QUERY_STATUS
CdmEngine::QueryStatus was mapping all error codes returned from crypto_session.Open to INVALID_QUERY_STATUS which caused important failure information to be lost. The GTS DrmSessionManagerTest test was failing as a result, because session reclaiming no longer worked. merge of http://go/wvgerrit/44800 bug:72705384 test:gts DrmSessionManagerTest Change-Id: Id404a18b8f66cf6137b69f6b4e1bdd7004706a0c
This commit is contained in:
@@ -174,7 +174,6 @@ static Status mapCdmResponseType(wvcdm::CdmResponseType res) {
|
||||
case wvcdm::CLIENT_ID_AES_ENCRYPT_ERROR:
|
||||
case wvcdm::CLIENT_ID_RSA_INIT_ERROR:
|
||||
case wvcdm::CLIENT_ID_RSA_ENCRYPT_ERROR:
|
||||
case wvcdm::INVALID_QUERY_STATUS:
|
||||
case wvcdm::LICENSE_PARSER_NOT_INITIALIZED_4:
|
||||
case wvcdm::INVALID_PARAMETERS_LIC_3:
|
||||
case wvcdm::INVALID_PARAMETERS_LIC_4:
|
||||
|
||||
Reference in New Issue
Block a user