media/libraries
tianyifeng 78f23c0c9b Add seekPrev and seekNext buttons on the default compact notification
This change is for Android 12 and below, where the buttons are derived from the actions added with the notification. From Android 13 (https://developer.android.com/about/versions/13/behavior-changes-13#playback-controls), the system derives media controls from `PlaybackState` actions.

When adding the actions onto the notification, the logic will iterate all the command buttons. The `COMMAND_KEY_CONPACT_VIEW_INDEX` extra will be checked for each button. If that extra is set for the three buttons on the compact view, then the customized buttons and their order will be used. Otherwise, the compact view will be "seekPrev" (if any), "play/pause" (if any), "seekNext" (if any) buttons (in such order).

Issue: androidx/media#410
PiperOrigin-RevId: 538797874
(cherry picked from commit 2e2f19351f)
2023-06-12 09:15:53 +00:00
..
cast Implement Player.replaceMediaItem(s) 2023-05-26 13:25:10 +00:00
common Add support for passing custom metadata via transformer 2023-06-12 09:15:53 +00:00
container Add support for passing custom metadata via transformer 2023-06-12 09:15:53 +00:00
database Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
datasource Remove two deprecated InvalidResponseCodeException constructors 2023-05-17 16:59:55 +00:00
datasource_cronet Update dependencies to latest versions 2023-04-26 15:49:57 +01:00
datasource_okhttp Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
datasource_rtmp Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
decoder Update dependencies to latest versions 2023-04-26 15:49:57 +01:00
decoder_av1 Remove Javadoc TODO from README of decoder extensions 2023-04-05 15:48:58 +01:00
decoder_ffmpeg Remove FfmpegVideoRenderer from 1.1.0 release 2023-05-18 18:04:45 +00:00
decoder_flac Update dependencies to latest versions 2023-04-26 15:49:57 +01:00
decoder_opus Update dependencies to latest versions 2023-04-26 15:49:57 +01:00
decoder_vp9 Update dependencies to latest versions 2023-04-26 15:49:57 +01:00
effect Fix calling extra registerInputStream and not handling EOS 2023-06-12 09:15:53 +00:00
exoplayer Add support for passing custom metadata via transformer 2023-06-12 09:15:53 +00:00
exoplayer_dash Merge pull request #425 from vishnuchilakala:set_min_live_position 2023-06-12 09:15:51 +00:00
exoplayer_hls media3: Capitalize "MIME" for MIME types. 2023-05-11 10:05:01 +00:00
exoplayer_ima Enable live DASH stream for IMA DAI 2023-05-17 16:59:56 +00:00
exoplayer_rtsp Use base Uri from the RTSP DESCRIBE response header for relative paths 2023-05-26 13:25:10 +00:00
exoplayer_smoothstreaming Ensure DrmSessionManager.setPlayer() is called before prepare() 2023-04-24 11:40:19 +01:00
exoplayer_workmanager Remove deprecated WorkManagerScheduler constructor 2023-05-18 16:07:51 +00:00
extractor Add support for passing custom metadata via transformer 2023-06-12 09:15:53 +00:00
muxer Enable nullness checker for Muxer module androidTest library 2023-06-12 09:15:53 +00:00
session Add seekPrev and seekNext buttons on the default compact notification 2023-06-12 09:15:53 +00:00
test_data Add support for passing custom metadata via transformer 2023-06-12 09:15:53 +00:00
test_exoplayer_playback Update dependencies to latest versions 2023-04-26 15:49:57 +01:00
test_session_common Implement Player.replaceMediaItem(s) 2023-05-26 13:25:10 +00:00
test_session_current Allow playback of MediaItems with LocalConfiguration 2023-06-12 09:15:01 +00:00
test_utils Effect: Add multiple texture output test. 2023-06-12 09:15:52 +00:00
test_utils_robolectric Move MdtaMetadataEntry class into container module 2023-05-26 13:25:07 +00:00
transformer Add support for passing custom metadata via transformer 2023-06-12 09:15:53 +00:00
ui Keep aspect ratio of PlayerView when IDLE 2023-05-26 13:25:10 +00:00
ui_leanback Use Util method for common UI play/pause button logic. 2023-04-26 15:52:50 +01:00