media/libraries
christosts 7a7e1eb23b MediaNotificationManager: handle playback ended
When the player finishes playback and reaches the STATE_ENDED,
the notification remains visible with a pause button and the
service is kept in the foreground. This is a bug.

With this change, when the player reaches the STATE_ENDED, the
service is stopped from the foreground and a notification is shown
with a play button. If the play icon is tapped, the player will restart
playback of the last played item. Playing the last played item again
is the existing behavior when play/pause commands are received from
the legacy MediaSession (e.g. BT headset buttons).

#minor-release

Issue: google/ExoPlayer#112
PiperOrigin-RevId: 467231509
2022-09-30 16:36:20 +00:00
..
cast Don't set the tag in CastTimeline 2022-07-13 17:41:37 +00:00
common HDR: Rename ColorInfo#isHdr to isTransferHdr. 2022-09-30 16:23:12 +00:00
database Mark all non-public IntDefs as only TYPE_USE 2022-02-21 16:56:36 +00:00
datasource Annotate methods that always return this with @CanIgnoreReturnValue 2022-08-08 07:55:25 +00:00
datasource_cronet Annotate methods that always return this with @CanIgnoreReturnValue 2022-08-08 07:55:25 +00:00
datasource_okhttp Annotate methods that always return this with @CanIgnoreReturnValue 2022-08-08 07:55:25 +00:00
datasource_rtmp Annotate methods that always return this with @CanIgnoreReturnValue 2022-08-08 07:55:25 +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 Add additional build flags for ffmpeg on "arm64-v8a" 2022-09-30 16:33:28 +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
effect Refactor RgbaMatrix to RgbMatrix. 2022-09-30 16:35:25 +00:00
exoplayer Make AudioTrackBufferSizeProvider public. 2022-08-05 14:51:07 +00:00
exoplayer_dash DASH: Parse and use EventStream.presentationTimeOffset 2022-08-08 08:02:36 +00:00
exoplayer_hls Annotate methods that always return this with @CanIgnoreReturnValue 2022-08-08 07:55:25 +00:00
exoplayer_ima Add timeout for ad to load. 2022-09-30 16:32:27 +00:00
exoplayer_rtsp Factor out RTP timestamp to sample time method 2022-08-04 16:49:03 +00:00
exoplayer_smoothstreaming Annotate methods that always return this with @CanIgnoreReturnValue 2022-08-08 07:55:25 +00:00
exoplayer_workmanager Reformat some javadoc 2022-02-18 14:54:02 +00:00
extractor Annotate methods that always return this with @CanIgnoreReturnValue 2022-08-08 07:55:25 +00:00
session MediaNotificationManager: handle playback ended 2022-09-30 16:36:20 +00:00
test_data Add a custom MIME type for MIDI 2022-09-30 16:20:02 +00:00
test_exoplayer_playback Annotate methods that always return this with @CanIgnoreReturnValue 2022-08-08 07:55:25 +00:00
test_session_common Run MediaSessionStub commands in order 2022-07-21 12:54:06 +00:00
test_session_current MediaNotificationManager: handle playback ended 2022-09-30 16:36:20 +00:00
test_utils ExtractorAsserts: add comments on method arguments 2022-08-08 08:06:00 +00:00
test_utils_robolectric Add timestamp to Metadata 2022-07-04 19:36:57 +00:00
transformer HDR: Clarify tone mapping fallback. 2022-09-30 16:29:27 +00:00
ui Use the current overrides of the player as preset 2022-07-21 12:39:46 +00:00
ui_leanback Update Leanback library 2022-08-02 19:01:58 +00:00