Return key request type none after key rotation
[ Merge of http://go/wvgerrit/80084 ] Corrected the key type being returned after entitled keys from init data are loaded. Made test changes to validate. Bug: 133903028 Test: WV unit/integration tests Change-Id: Icb44587f5c3aba3b0facae6d83dc9344d6b60833
This commit is contained in:
@@ -83,16 +83,15 @@ KeyRequestType ConvertFromCdmKeyRequestType(
|
||||
|
||||
KeyRequestType_V1_1 ConvertFromCdmKeyRequestType_1_1(
|
||||
CdmKeyRequestType keyRequestType) {
|
||||
/* TODO - What happened to these?
|
||||
switch (keyRequestType) {
|
||||
case wvcdm::kKeyRequestTypeNone:
|
||||
return KeyRequestType_V1_1::NONE;
|
||||
case wvcdm::kKeyRequestTypeUpdate:
|
||||
return KeyRequestType_V1_1::UPDATE;
|
||||
default:
|
||||
*/
|
||||
return static_cast<KeyRequestType_V1_1>(
|
||||
ConvertFromCdmKeyRequestType(keyRequestType));
|
||||
return static_cast<KeyRequestType_V1_1>(
|
||||
ConvertFromCdmKeyRequestType(keyRequestType));
|
||||
}
|
||||
}
|
||||
|
||||
KeyRequestType toKeyRequestType_V1_0(KeyRequestType_V1_1 keyRequestType) {
|
||||
|
||||
Reference in New Issue
Block a user