mirror of
https://github.com/androidx/media.git
synced 2025-05-04 22:20:47 +08:00

This fixes DefaultDrmSessionManager so it can be used by a new Player instance (by nulling out its reference to the playback thread, which is unique per-Player instance). This only works if the DefaultDrmSessionManager is 'fully released' before being used by the second Player instance, meaning that the reference count of the manager and all its sessions is zero. #exofixit #minor-release Issue: #9099 PiperOrigin-RevId: 395490506