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:
@@ -640,7 +640,7 @@ Return<void> WVDrmPlugin::getPropertyString(const hidl_string& propertyName,
|
||||
if (name == "vendor") {
|
||||
value = "Google";
|
||||
} else if (name == "version") {
|
||||
value = "1.0";
|
||||
status = queryProperty(wvcdm::QUERY_KEY_WVCDM_VERSION, value);
|
||||
} else if (name == "description") {
|
||||
value = "Widevine CDM";
|
||||
} else if (name == "algorithms") {
|
||||
|
||||
Reference in New Issue
Block a user