media/libraries
tonihei 45f1f5b378 Properly chain commands in MediaSessionStub
The commands currently use a task and a postTask that are chained
together manually. In some cases, e.g. when adding MediaItems,
the postTask is already a chain of commands in itself.

To allow using the entire command handling as a single task
(for simplified queueing), we can change the implementation to
always create a single task. If multiple subtasks need to be
chained together, we can do that by wrapping the method calls.
In case a task is asynchronous, we can also use Futures to
chain them together.

Overall, this is just a refactoring and changes no logic.

Issue: androidx/media#85
PiperOrigin-RevId: 462085724
2022-07-21 12:53:11 +00:00
..
cast Don't set the tag in CastTimeline 2022-07-13 17:41:37 +00:00
common Add Util helper methods to work with Futures 2022-07-21 12:51:22 +00:00
database Mark all non-public IntDefs as only TYPE_USE 2022-02-21 16:56:36 +00:00
datasource Add @code tags to DefaultDataSource javadoc 2022-07-21 12:52:19 +00:00
datasource_cronet Add @deprecated javadoc to all @Deprecated @Override methods 2022-05-31 13:51:49 +00:00
datasource_okhttp Remove okhttp related proguard rules 2022-07-21 12:49:32 +00:00
datasource_rtmp Remove references to deprecated DefaultDataSourceFactory from dev guide 2022-03-24 15:13:09 +00:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:21:36 +01:00
decoder_av1 Make sure native library loads use correct class loader 2022-02-22 11:25:44 +00:00
decoder_ffmpeg Remove FfmpegVideoRenderer from 2.18.0 release 2022-05-30 17:58:14 +00:00
decoder_flac Make sure native library loads use correct class loader 2022-02-22 11:25:44 +00:00
decoder_opus Ignore decoding test cases when library not available 2022-05-31 15:33:33 +00:00
decoder_vp9 Make sure native library loads use correct class loader 2022-02-22 11:25:44 +00:00
exoplayer Add fail-fast null checks to the stable Player API 2022-07-21 12:46:05 +00:00
exoplayer_dash Fix setDataSourceFactory handling in DefaultMediaSourceFactory 2022-07-13 17:48:16 +00:00
exoplayer_hls Fix setDataSourceFactory handling in DefaultMediaSourceFactory 2022-07-13 17:48:16 +00:00
exoplayer_ima Simplify DefaultMediaSourceFactory instantiation in a test 2022-05-30 16:32:59 +00:00
exoplayer_rtsp Fix two typos in RtpVp8Reader and test 2022-07-13 17:43:29 +00:00
exoplayer_smoothstreaming Fix setDataSourceFactory handling in DefaultMediaSourceFactory 2022-07-13 17:48:16 +00:00
exoplayer_workmanager Reformat some javadoc 2022-02-18 14:54:02 +00:00
extractor Ignore reserved bit in parsing NAL unit type 2022-07-13 17:38:02 +00:00
session Properly chain commands in MediaSessionStub 2022-07-21 12:53:11 +00:00
test_data HDR: Throw when unexpected color transfer encountered. 2022-07-21 12:41:33 +00:00
test_exoplayer_playback Move TrackGroupArray back to ExoPlayer 2022-03-17 13:08:56 +00:00
test_session_common Exclude tracks if COMMAND_GET_TRACKS is not available 2022-07-21 12:50:29 +00:00
test_session_current Exclude tracks if COMMAND_GET_TRACKS is not available 2022-07-21 12:50:29 +00:00
test_utils Add method to check if tunneling is enabled. 2022-07-13 17:36:42 +00:00
test_utils_robolectric Add timestamp to Metadata 2022-07-04 19:36:57 +00:00
transformer Don't include case statement if it falls through to default. 2022-07-21 12:48:46 +00:00
ui Use the current overrides of the player as preset 2022-07-21 12:39:46 +00:00
ui_leanback Listen to playWhenReady changes in LeanbackPlayerAdapter 2022-07-12 15:07:10 +00:00