Revision 295e8bacb366bc62093662cc9fc54e72ee339039 authored by ibaker on 11 February 2021, 13:47:43 UTC, committed by Oliver Woodman on 12 February 2021, 17:19:19 UTC
If keepalive is disabled the existing code over-eagerly releases
DrmSession instances. This is arguably OK since a (Default)DrmSession
should be released before its (Default)Manager is released
(since the underlying MediaDrm instance might be released when the
manager is released). And if all sessions are released before the
manager is released then `sessions` is empty, so the loop is a no-op.

Issue: #8576
PiperOrigin-RevId: 356955308
1 parent d48d59b
History
File Mode Size
.github
.idea
demos
extensions
gradle
library
playbacktests
robolectricutils
testdata
testutils
.gitignore -rw-r--r-- 1.0 KB
.hgignore -rw-r--r-- 1.2 KB
CONTRIBUTING.md -rw-r--r-- 1.7 KB
LICENSE -rw-r--r-- 11.1 KB
README.md -rw-r--r-- 5.0 KB
RELEASENOTES.md -rw-r--r-- 175.3 KB
build.gradle -rw-r--r-- 1.3 KB
common_library_config.gradle -rw-r--r-- 1.2 KB
constants.gradle -rw-r--r-- 1.9 KB
core_settings.gradle -rw-r--r-- 4.5 KB
gradle.properties -rw-r--r-- 156 bytes
gradlew -rwxr-xr-x 5.0 KB
gradlew.bat -rw-r--r-- 2.3 KB
javadoc_combined.gradle -rw-r--r-- 2.8 KB
javadoc_library.gradle -rw-r--r-- 1.8 KB
javadoc_util.gradle -rw-r--r-- 2.5 KB
publish.gradle -rw-r--r-- 2.5 KB
settings.gradle -rw-r--r-- 1.4 KB

README.md

back to top