media/library/core/src
christosts c19936895b DownloadHelper: propagate errors to callback
When downlading an adaptive asset, if an ExoPlaybackException happens
during track selection, the player raises an
UnsupportedOperationException which is not handled gracefully and can
crash the app main thread.

This change catches the error and forwards it to
DownloadHelper.Callback.onPrepareError() as an IOException.

PiperOrigin-RevId: 443015332
2022-04-26 15:59:19 +01:00
..
androidTest Fix the position of IntDefs to match TYPE_USE 2022-02-08 12:34:06 +00:00
main DownloadHelper: propagate errors to callback 2022-04-26 15:59:19 +01:00
test Rename Player.COMMAND_GET_TRACK_INFOS to COMMAND_GET_TRACKS 2022-04-26 15:34:35 +01:00