Call SelectKey regardless of entitled key mapping am: fce75c295b

am: 09366bb6ce

Change-Id: I9b73230d68eecf47dd5caab94100c5f9144e75da
This commit is contained in:
Srujan Gaddam
2019-04-30 20:04:44 -07:00
committed by android-build-merger

View File

@@ -75,11 +75,8 @@ OEMCryptoResult EntitlementKeySession::SelectKey(const std::string& key_id,
current_loaded_content_keys_[entitled_content_key.entitlement_key_id()] =
key_id;
return ContentKeySession::SelectKey(key_id, cipher_mode);
} else {
return OEMCrypto_SUCCESS;
}
return ContentKeySession::SelectKey(key_id, cipher_mode);
}
OEMCrypto_EntitledContentKeyObject EntitlementKeySession::MakeOecEntitledKey(