Add log when LoadEntitledContentKeys fails
Test: CE CDM tests, Android unit/integration tests Merge of http://go/wvgerrit/73464 LoadEntitledContentKeys result is logged in SelectKey when it fails. Requested as part of http://go/wvgerrit/73144. Change-Id: I063497144ff3370b817e12c0535580e54cfec1d8
This commit is contained in:
@@ -69,6 +69,7 @@ OEMCryptoResult EntitlementKeySession::SelectKey(const std::string& key_id,
|
||||
message.size(), 1, &entitled_key),
|
||||
metrics_, oemcrypto_load_entitled_keys_, result);
|
||||
if (result != OEMCrypto_SUCCESS) {
|
||||
LOGE("SelectKey: OEMCrypto_LoadEntitledContentKeys error=%d", result);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user