Merge "Correct reporting of KeyStatus usable in future" into rvc-dev am: d260c2cf2d am: dec9af442b am: c00f9a3ce1 am: 3bf1e1b1b5
Change-Id: If0c534f9724a1507bee01cfc09d7084f20202907
This commit is contained in:
@@ -66,8 +66,9 @@ DrmPlugin::KeyStatusType ConvertFromCdmKeyStatus(CdmKeyStatus keyStatus) {
|
|||||||
case kKeyStatusOutputNotAllowed:
|
case kKeyStatusOutputNotAllowed:
|
||||||
return DrmPlugin::kKeyStatusType_OutputNotAllowed;
|
return DrmPlugin::kKeyStatusType_OutputNotAllowed;
|
||||||
case kKeyStatusPending:
|
case kKeyStatusPending:
|
||||||
case kKeyStatusUsableInFuture:
|
|
||||||
return DrmPlugin::kKeyStatusType_StatusPending;
|
return DrmPlugin::kKeyStatusType_StatusPending;
|
||||||
|
case kKeyStatusUsableInFuture:
|
||||||
|
return DrmPlugin::kKeyStatusType_UsableInFuture;
|
||||||
case kKeyStatusInternalError:
|
case kKeyStatusInternalError:
|
||||||
default:
|
default:
|
||||||
return DrmPlugin::kKeyStatusType_InternalError;
|
return DrmPlugin::kKeyStatusType_InternalError;
|
||||||
|
|||||||
Reference in New Issue
Block a user