media/libraries
bachinger 8e48433be3 Send media button events from service directly using MediaSessionImpl
Media button event coming from the `MediaSessionService` are delegated
to the `MediaSessionImpl` and then sent to the session by using the
`MediaSessionStub` directly instead of using the `MediaController`
API.

Splitting the `MediaController.Listener` and `Player.Listener` in
`MediaNotificationManager` got reverted, and both listener are set to the
controller as before. This reverts the change that introduced a
different timing behaviour. It still holds, that a listener
registered on a `MediaController` that calls a method like `play()` is
called immediately and before the call has arrived at the player. This
change works around this behaviour from the library side by calling
`MediaSessionStub` directly with a `ControllerInfo`.

#minor-release

PiperOrigin-RevId: 573918850
(cherry picked from commit 64bd3bcad3)
2023-10-23 13:15:17 +01:00
..
cast Move setAudioAttributes from ExoPlayer to Player 2023-09-19 06:08:37 -07:00
common Split available command filtering and bundling 2023-10-23 13:14:42 +01:00
container Remove duplication of various TestUtil methods 2023-08-31 08:23:33 -07:00
database Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource Test more URI forms in RawResourceDataSourceContractTest 2023-10-23 13:14:42 +01:00
datasource_cronet Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource_okhttp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
datasource_rtmp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder Deprecate decode-only flag. 2023-10-06 15:57:25 +01:00
decoder_av1 Add Decoder.setOutputStartTimeUs and use it in extension decoders 2023-10-06 15:57:25 +01:00
decoder_ffmpeg Explicitly mark DecoderOutputBuffer as shouldBeSkipped if needed 2023-10-06 15:57:24 +01:00
decoder_flac Add more data to e2etest dumps 2023-07-13 15:33:33 +01:00
decoder_midi Deprecate decode-only flag. 2023-10-06 15:57:25 +01:00
decoder_opus Explicitly mark DecoderOutputBuffer as shouldBeSkipped if needed 2023-10-06 15:57:24 +01:00
decoder_vp9 Add Decoder.setOutputStartTimeUs and use it in extension decoders 2023-10-06 15:57:25 +01:00
effect Add previewing specific video graph. 2023-09-29 06:16:16 -07:00
exoplayer Remove deprecated DownloadNotificationHelper.buildProgressNotification 2023-10-23 13:15:12 +01:00
exoplayer_dash Add experimental opt-in to parse DASH subtitles during extraction 2023-10-23 13:14:41 +01:00
exoplayer_hls Calculate HLS live playlist refresh interval accurately 2023-10-23 13:15:16 +01:00
exoplayer_ima Bump IMA SDK version to 3.31.0 2023-09-21 05:54:13 -07:00
exoplayer_rtsp Deflake RTSP keep-alive monitor test 2023-10-06 19:20:13 +01:00
exoplayer_smoothstreaming Add functionality to transmit CMCD data using query parameters 2023-08-31 02:11:12 -07:00
exoplayer_workmanager Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
extractor Migrate SubtitleParser implementations to incremental parse() 2023-10-23 13:14:42 +01:00
muxer Make sure the mdat box is not extended by more than 1 GB at a time. 2023-09-08 04:07:13 -07:00
session Send media button events from service directly using MediaSessionImpl 2023-10-23 13:15:17 +01:00
test_data Change LegacySubtitleUtil handling of SubtitleParser.OutputOptions 2023-10-23 13:14:42 +01:00
test_exoplayer_playback Add android.namespace to all build.gradle files 2023-05-19 17:19:15 +01:00
test_session_common Only set the queue when COMMAND_GET_TIMELINE is available 2023-10-23 13:15:17 +01:00
test_session_current Send media button events from service directly using MediaSessionImpl 2023-10-23 13:15:17 +01:00
test_utils Add Dumper support for outputting multiline strings 2023-10-06 15:57:24 +01:00
test_utils_robolectric Enable offload scheduling by default for audio-only offload playback 2023-09-13 06:46:50 -07:00
transformer Add previewing specific video graph. 2023-09-29 06:16:16 -07:00
ui Fix the resumption of playback when suitable device is connected. 2023-10-23 13:13:46 +01:00
ui_leanback Prevent forwarding of zero video size to Leanback 2023-08-30 12:20:51 -07:00