media/libraries
bachinger 0255f3be16 Check whether a session is still managed before removing
When the controller of the `MediaNotificationManager` is disconnected,
the session is removed from the service without checking whether the
session hasn't already been removed. This caused flakiness in `MediaSessionServiceTest.addSession()`.

Because there is a public API `MediaSessionService.removeSession()`,
the controller can't make an assumption whether the session is still
contained in the service when being disconnected.

#minor-release

PiperOrigin-RevId: 572568350
(cherry picked from commit 7fdc5b22ba)
2023-10-23 13:14:42 +01:00
..
cast
common Update @UnstableApi docs to include a package-info.java example 2023-10-23 13:14:41 +01:00
container
database
datasource
datasource_cronet
datasource_okhttp
datasource_rtmp
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
decoder_flac
decoder_midi Deprecate decode-only flag. 2023-10-06 15:57:25 +01:00
decoder_opus
decoder_vp9 Add Decoder.setOutputStartTimeUs and use it in extension decoders 2023-10-06 15:57:25 +01:00
effect
exoplayer Add experimental opt-in to parse DASH subtitles during extraction 2023-10-23 13:14:41 +01:00
exoplayer_dash Add experimental opt-in to parse DASH subtitles during extraction 2023-10-23 13:14:41 +01:00
exoplayer_hls Add functionality to transmit CMCD data using query parameters 2023-08-31 02:11:12 -07: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
exoplayer_workmanager
extractor Add experimental opt-in to parse DASH subtitles during extraction 2023-10-23 13:14:41 +01:00
muxer
session Check whether a session is still managed before removing 2023-10-23 13:14:42 +01:00
test_data Add experimental opt-in to parse DASH subtitles during extraction 2023-10-23 13:14:41 +01:00
test_exoplayer_playback Add android.namespace to all build.gradle files 2023-05-19 17:19:15 +01:00
test_session_common
test_session_current Add MediaSession.Builder().setPeriodicPositionUpdateEnabled() 2023-10-23 13:14:41 +01:00
test_utils
test_utils_robolectric
transformer
ui Fix the resumption of playback when suitable device is connected. 2023-10-23 13:13:46 +01:00
ui_leanback