mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

The release needs to post to the MediaSource thread and also needs to post back to the DownloadHelper thread to prevent sending updates after release has been called. The point where we release the downloadHelper also needs to dismiss the dialog in case the creation has already been queued before the release. PiperOrigin-RevId: 236652309