Report Widevine Version on Android
(This is a merge of http://go/wvgerrit/29282) The Android API has long mandated that plugins respond to queries for a version number, but we'd never hooked it up to the CDM's actual version number until now. Bug: 36867286 Test: libwvdrmdrmplugin_test Test: libwvdrmdrmplugin_hidl_test Change-Id: I952de4943f8e78b44d526bee66c54d31e9fe5ff1
This commit is contained in:
@@ -67,6 +67,7 @@ static const std::string QUERY_KEY_OEMCRYPTO_API_VERSION =
|
||||
static const std::string QUERY_KEY_CURRENT_SRM_VERSION = "CurrentSRMVersion";
|
||||
static const std::string QUERY_KEY_SRM_UPDATE_SUPPORT = "SRMUpdateSupport";
|
||||
// whether OEM supports SRM update
|
||||
static const std::string QUERY_KEY_WVCDM_VERSION = "WidevineCdmVersion";
|
||||
|
||||
static const std::string QUERY_VALUE_TRUE = "True";
|
||||
static const std::string QUERY_VALUE_FALSE = "False";
|
||||
|
||||
Reference in New Issue
Block a user