Fix API support for Widevine vendor metrics
This fixes Widevine's getMetrics call so that it will return vendor metrics through the Drm plugin 1.1 interface. Bug: 73724453 Test: New and existing unit tests. Updated and existing GTS. Google Play manual. Change-Id: Ie35128dc80bd6eabf9e1f3b9c1800256af77bc51
This commit is contained in:
@@ -125,10 +125,7 @@ struct WVDrmPlugin : public IDrmPlugin, IDrmPluginListener,
|
||||
Return<Status> releaseSecureStop(
|
||||
const hidl_vec<uint8_t>& secureStopId) override;
|
||||
|
||||
Return<void> getMetrics(getMetrics_cb _hidl_cb) {
|
||||
_hidl_cb(Status::ERROR_DRM_CANNOT_HANDLE, hidl_vec<DrmMetricGroup>());
|
||||
return Void();
|
||||
}
|
||||
Return<void> getMetrics(getMetrics_cb _hidl_cb);
|
||||
|
||||
Return<void> getSecureStopIds(getSecureStopIds_cb _hidl_cb) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user