Rename method CanUseKey for clarity
[ Merge of http://go/wvgerrit/60240 ] Since the method is not a general purpose check and only verifies that the key can be used for a given security level the method has been renamed PolicyEngine::CanUseKeyForSecurityLevel. Bug: 115701771 Test: WV unit/integration tests Change-Id: Icd6789538bb709d2a48c67bbd7bc810f4b000e14
This commit is contained in:
@@ -314,7 +314,7 @@ CdmResponseType PolicyEngine::QueryKeyAllowedUsage(
|
||||
return KEY_NOT_FOUND_1;
|
||||
}
|
||||
|
||||
bool PolicyEngine::CanUseKey(
|
||||
bool PolicyEngine::CanUseKeyForSecurityLevel(
|
||||
const KeyId& key_id,
|
||||
CdmSecurityLevel security_level) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user