media/libraries
tonihei d84662e5ce 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
(cherry picked from commit 45f1f5b378)
2022-07-20 08:56:08 +00:00
..
cast Add timestamp to CueGroup 2022-06-22 17:19:55 +01:00
common Add Util helper methods to work with Futures 2022-07-19 16:04:45 +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-19 16:29:20 +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-19 15:32:38 +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-19 11:05:40 +00:00
exoplayer_dash Make MetadataRenderer configurable to output metadata early. 2022-06-29 14:47:12 +00:00
exoplayer_hls Fix setDataSourceFactory handling in DefaultMediaSourceFactory 2022-07-13 15:27:55 +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 09:27:06 +00:00
exoplayer_smoothstreaming Fix setDataSourceFactory handling in DefaultMediaSourceFactory 2022-07-13 15:27:55 +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-12 16:53:03 +00:00
session Properly chain commands in MediaSessionStub 2022-07-20 08:56:08 +00:00
test_data HDR: Throw when unexpected color transfer encountered. 2022-07-18 11:20:31 +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-19 15:39:27 +00:00
test_session_current Exclude tracks if COMMAND_GET_TRACKS is not available 2022-07-19 15:39:27 +00:00
test_utils Add method to check if tunneling is enabled. 2022-07-12 16:31:38 +00:00
test_utils_robolectric Add timestamp to Metadata 2022-06-27 11:31:10 +00:00
transformer Don't include case statement if it falls through to default. 2022-07-19 15:25:58 +00:00
ui Use the current overrides of the player as preset 2022-07-18 10:36:01 +00:00
ui_leanback Listen to playWhenReady changes in LeanbackPlayerAdapter 2022-07-11 15:49:33 +00:00