media/libraries/session/src/main
bachinger 64bd3bcad3 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
2023-10-16 13:52:30 -07:00
..
aidl/androidx/media3/session Move setAudioAttributes from ExoPlayer to Player 2023-09-19 06:08:37 -07:00
java/androidx/media3/session Send media button events from service directly using MediaSessionImpl 2023-10-16 13:52:30 -07:00
res Suppress NewApi lint warning on <vector> usage in drawables 2023-07-05 09:08:51 +00:00
AndroidManifest.xml Update to androidx.media3 2021-10-27 09:12:46 +01:00