adding OEM_ENTITLEMENT key container type.
[ Merge of http://go/wvgerrit/148691 ] This is a followup to OEM_CONTENT, a custom key container that was added to Widevine server. Bug: 193006094 Bug: 236317198 Change-Id: I82285e4e50f981e0cedf2adac5910643f34f8e46
This commit is contained in:
@@ -19,7 +19,7 @@ extern "C" {
|
|||||||
#define ODK_MINOR_VERSION 0
|
#define ODK_MINOR_VERSION 0
|
||||||
|
|
||||||
/* ODK Version string. Date changed automatically on each release. */
|
/* ODK Version string. Date changed automatically on each release. */
|
||||||
#define ODK_RELEASE_DATE "ODK v17.0 2022-02-15"
|
#define ODK_RELEASE_DATE "ODK v17.0 2022-03-25"
|
||||||
|
|
||||||
/* The lowest version number for an ODK message. */
|
/* The lowest version number for an ODK message. */
|
||||||
#define ODK_FIRST_VERSION 16
|
#define ODK_FIRST_VERSION 16
|
||||||
|
|||||||
@@ -101,8 +101,11 @@ bool CreateCoreLicenseResponseFromProto(const CoreMessageFeatures& features,
|
|||||||
}
|
}
|
||||||
case video_widevine::License_KeyContainer::CONTENT:
|
case video_widevine::License_KeyContainer::CONTENT:
|
||||||
case video_widevine::License_KeyContainer::OPERATOR_SESSION:
|
case video_widevine::License_KeyContainer::OPERATOR_SESSION:
|
||||||
|
case video_widevine::License_KeyContainer::OEM_CONTENT:
|
||||||
|
case video_widevine::License_KeyContainer::OEM_ENTITLEMENT:
|
||||||
case video_widevine::License_KeyContainer::ENTITLEMENT: {
|
case video_widevine::License_KeyContainer::ENTITLEMENT: {
|
||||||
if (k.type() == video_widevine::License_KeyContainer::ENTITLEMENT) {
|
if (k.type() == video_widevine::License_KeyContainer::ENTITLEMENT ||
|
||||||
|
k.type() == video_widevine::License_KeyContainer::OEM_ENTITLEMENT) {
|
||||||
any_entitlement = true;
|
any_entitlement = true;
|
||||||
} else {
|
} else {
|
||||||
any_content = true;
|
any_content = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user