mirror of
https://github.com/androidx/media.git
synced 2025-05-10 00:59:51 +08:00

In the same way it made sense to tie CacheKeyFactory and CacheDataSource
together in
7ea83d7167
,
it makes sense to tie the PriorityTaskManager to the CacheDataSource as
well. This prevents error prone scenarios where one can end up being
passed around without (or with the wrong instance of) the other.
This change also internalizes use of PriorityDataSource directly into
CacheDataSource, rather than requiring the caller to chain things
themselves.
PiperOrigin-RevId: 307647290
ExoPlayer library
The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.