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
(cherry picked from commit 6aad0f77cb)
This commit is contained in:
@@ -186,7 +186,7 @@ enum CdmResponseType {
|
||||
CLIENT_ID_AES_ENCRYPT_ERROR = 145,
|
||||
CLIENT_ID_RSA_INIT_ERROR = 146,
|
||||
CLIENT_ID_RSA_ENCRYPT_ERROR = 147,
|
||||
INVALID_QUERY_STATUS = 148,
|
||||
/* previously INVALID_QUERY_STATUS = 148 */
|
||||
/* previously EMPTY_PROVISIONING_CERTIFICATE_2 = 149 on mnc-dev, */
|
||||
/* and DUPLICATE_SESSION_ID_SPECIFIED = 149 on master */
|
||||
LICENSE_PARSER_NOT_INITIALIZED_4 = 150,
|
||||
|
||||
Reference in New Issue
Block a user