Fix testOEMCryptoVersion

am: 957d4a30dd

Change-Id: Ia2f9f78ff0741bcb7c7ecd8c348aff0736004050
This commit is contained in:
Edwin Wong
2017-03-30 01:27:20 +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;
}