Merge "Correct reporting of KeyStatus usable in future" into rvc-dev am: d260c2cf2d am: dec9af442b

Change-Id: Idd0c126798678cd92b3c61f8c2f217914e8155f5
This commit is contained in:
Rahul Frias
2020-04-20 19:38:37 +00:00
committed by Automerger Merge Worker

View File

@@ -66,8 +66,9 @@ DrmPlugin::KeyStatusType ConvertFromCdmKeyStatus(CdmKeyStatus keyStatus) {
case kKeyStatusOutputNotAllowed:
return DrmPlugin::kKeyStatusType_OutputNotAllowed;
case kKeyStatusPending:
case kKeyStatusUsableInFuture:
return DrmPlugin::kKeyStatusType_StatusPending;
case kKeyStatusUsableInFuture:
return DrmPlugin::kKeyStatusType_UsableInFuture;
case kKeyStatusInternalError:
default:
return DrmPlugin::kKeyStatusType_InternalError;