Fix testOEMCryptoVersion am: 957d4a30dd

am: e59918c8b1

Change-Id: If1d42fbfe00041bd1fa33f012f1d4260e0681aaf
This commit is contained in:
Edwin Wong
2017-03-30 01:32:09 +00:00
committed by android-build-merger

View File

@@ -626,7 +626,7 @@ CdmResponseType CdmEngine::QueryStatus(SecurityLevel security_level,
*query_response = max_sessions_stream.str();
} else if (query_token == QUERY_KEY_OEMCRYPTO_API_VERSION) {
uint32_t api_version;
if (crypto_session.GetApiVersion(&api_version)) {
if (!crypto_session.GetApiVersion(&api_version)) {
LOGW("CdmEngine::QueryStatus: GetApiVersion failed");
return UNKNOWN_ERROR;
}