Prevent renewal license when can_renew is set to false

[ Merge of https://go/wvgerrit/15670 ]

b/18459002

Change-Id: Idad43a621750ff01aee61e8d972957f364a698cf
This commit is contained in:
Rahul Frias
2015-09-16 15:30:38 -07:00
parent ff6b79d945
commit 395f68456b
7 changed files with 36 additions and 1 deletions

View File

@@ -176,7 +176,8 @@ enum {
kLicenseRequestNonceGenerationError = ERROR_DRM_VENDOR_MIN + 161,
kLicenseRequestSigningError = ERROR_DRM_VENDOR_MIN + 162,
kEmptyLicenseRequest = ERROR_DRM_VENDOR_MIN + 163,
kErrorWVDrmMaxErrorUsed = ERROR_DRM_VENDOR_MIN + 163,
kLicenseRenewalProhibited = ERROR_DRM_VENDOR_MIN + 165,
kErrorWVDrmMaxErrorUsed = ERROR_DRM_VENDOR_MIN + 165,
// Used by crypto test mode
kErrorTestMode = ERROR_DRM_VENDOR_MAX,