4b267e37f996b49d7437565b2351b2236c26f922
[ Merge of http://go/wvgerrit/172910 ] The lifecycle of the Android CDM is controlled by Android's strong/ weak pointer functionality. Unfortunately, it does not provide an easily predictable point in the code where the CDM is to be deleted along with the saved metrics. In order to allow the CDM to keep a list of metrics that are persistent with the life of the service, a global thread safe queue is provided which is created when the first CDM is created, but will out live the CDM. The metrics will still be deleted when the DRM service is terminated. Bug: 270166158 Test: adb shell dumpsys android.hardware.drm.IDrmFactory/widevine -m Change-Id: Id98676d8b5278798b4de332cc272cd5b85024244
Description
No description provided