media/library
olly a0c21461aa Ensure getAllDownloadStates order is stable
HashMap.values does not guarantee a stable order, but our tests
assert that the order is stable. It's probably a nice property
that the order is the same as that in which downloads are added,
so this change makes the order stable, with that order.

A future change will likely improve the way this works, by
changing the internal thread "downloads" variable to have type
ArrayList<Download>, at which point the internal thread can just
pass a read-only copy of its list to the main thread whenever a
state changes.

PiperOrigin-RevId: 242460725
2019-04-13 01:34:47 +01:00
..
all Upgrade gradle plugin and friends 2019-02-18 15:57:55 +00:00
core Ensure getAllDownloadStates order is stable 2019-04-13 01:34:47 +01:00
dash Use DownloadAction.id properly 2019-04-13 01:34:07 +01:00
hls Use DownloadAction.id properly 2019-04-13 01:34:07 +01:00
smoothstreaming Use DownloadAction.id properly 2019-04-13 01:34:07 +01:00
ui Use FLAG_UPDATE_CURRENT for PendingIntents of playback commands. 2019-04-13 01:34:27 +01:00
README.md Tweak and add READMEs + remove refs to V1 2017-08-17 22:59:34 +01:00

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.