Support Device Unprovisioning
Merge of https://widevine-internal-review.googlesource.com/#/c/10845/ from the widevine cdm repo. Bug: 12247651 Change-Id: Ice6ec95865640fa2f736c7a9f09956395d648337
This commit is contained in:
@@ -375,6 +375,19 @@ status_t WVDrmPlugin::provideProvisionResponse(
|
||||
return mapCdmResponseType(res);
|
||||
}
|
||||
|
||||
status_t WVDrmPlugin::unprovisionDevice() {
|
||||
CdmResponseType res1 = mCDM->Unprovision(kSecurityLevelL1);
|
||||
CdmResponseType res3 = mCDM->Unprovision(kSecurityLevelL3);
|
||||
if (!isCdmResponseTypeSuccess(res1))
|
||||
{
|
||||
return mapCdmResponseType(res1);
|
||||
}
|
||||
else
|
||||
{
|
||||
return mapCdmResponseType(res3);
|
||||
}
|
||||
}
|
||||
|
||||
status_t WVDrmPlugin::getSecureStops(List<Vector<uint8_t> >& secureStops) {
|
||||
CdmUsageInfo cdmUsageInfo;
|
||||
CdmResponseType res = mCDM->GetUsageInfo(&cdmUsageInfo);
|
||||
|
||||
Reference in New Issue
Block a user