Fix setDataSourceFactory handling in DefaultMediaSourceFactory
The call doesn't currently reset the already loaded suppliers and factories. Also fix the supplier loading code to use a local copy of the current dataSourceFactory to avoid leaking an updated instance to a later invocation. Issue: androidx/media#116 PiperOrigin-RevId: 460721541 (cherry picked from commit adc50515)
Showing
with
173 additions
and
6 deletions
Please
register
or
sign in
to comment