media/libraries
bachinger 665f04d70a Use the artist as the subtitle of the legacy media description
The Bluetooth AVRCP service expects the metadata of the item currently
being played to be in sync with the corresponding media description in
the active item of the queue. The comparison expects the metadata values
of `METADATA_KEY_TITLE` and `METADATA_KEY_ARTIST` [1] to be equal to the
`title` and `subtitle` field of the `MediaDescription` [2] of the
corresponding queue item.

Hence we need to populate the media description accordingly to avoid the
BT service to delay the update for two seconds and log an exception.

[1] https://cs.android.com/android/platform/superproject/+/master:packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/helpers/Metadata.java;l=120
[2] https://cs.android.com/android/platform/superproject/+/master:packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/MediaPlayerWrapper.java;l=258

Issue: androidx/media#148
PiperOrigin-RevId: 491877806
(cherry picked from commit 2a07a0b445)
2023-01-25 17:49:34 +00:00
..
cast Bump cast sdk version and remove workaround for live duration 2023-01-25 17:42:21 +00:00
common Add configuration to support OPUS offload 2023-01-25 17:49:30 +00:00
database Mark all non-public IntDefs as only TYPE_USE 2022-02-21 16:56:36 +00:00
datasource Fix instrumentation tests not working via Gradle 2022-09-20 15:25:38 +00:00
datasource_cronet Fix instrumentation tests not working via Gradle 2022-09-20 15:25:38 +00:00
datasource_okhttp Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 15:24:07 +00:00
datasource_rtmp Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 15:24:07 +00:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:21:36 +01:00
decoder_av1 Fix Dackka parameter name error in Gav1Decoder and VpxDecoder 2022-11-10 10:19:01 +00:00
decoder_ffmpeg Add set -eu to all shell scripts 2023-01-25 17:37:31 +00:00
decoder_flac Fix Dackka/Metalava errors in av1, flac, ffmpeg, midi, and opus modules 2022-11-10 10:00:14 +00:00
decoder_opus Add set -eu to all shell scripts 2023-01-25 17:37:31 +00:00
decoder_vp9 Add set -eu to all shell scripts 2023-01-25 17:37:31 +00:00
effect Fix Dackka/Metalava errors in the effects module 2022-11-02 12:21:56 +00:00
exoplayer Use audio bitrate to calculate AudioTrack min buffer in passthrough 2023-01-25 17:49:34 +00:00
exoplayer_dash Add missing IntDef on MediaSource.Factory.getSupportedTypes overrides 2022-11-10 12:24:56 +00:00
exoplayer_hls Add missing IntDef on MediaSource.Factory.getSupportedTypes overrides 2022-11-10 12:24:56 +00:00
exoplayer_ima Merge pull request #10799 from OxygenCobalt:id3v2-multi-value 2023-01-25 17:41:39 +00:00
exoplayer_rtsp Add missing IntDef on MediaSource.Factory.getSupportedTypes overrides 2022-11-10 12:24:56 +00:00
exoplayer_smoothstreaming Add missing IntDef on MediaSource.Factory.getSupportedTypes overrides 2022-11-10 12:24:56 +00:00
exoplayer_workmanager Reformat some javadoc 2022-02-18 14:54:02 +00:00
extractor Add configuration to support OPUS offload 2023-01-25 17:49:30 +00:00
session Use the artist as the subtitle of the legacy media description 2023-01-25 17:49:34 +00:00
test_data Merge pull request #10799 from OxygenCobalt:id3v2-multi-value 2023-01-25 17:41:39 +00:00
test_exoplayer_playback Fix instrumentation tests not working via Gradle 2022-09-20 15:25:38 +00:00
test_session_common Migrate BROWSER_ROOT_HINTS_KEY_ROOT_CHILDREN_SUPPORTED_FLAGS to Media3 2023-01-25 17:38:34 +00:00
test_session_current Misc fix in gradle build file 2023-01-25 17:41:00 +00:00
test_utils Ensure messages sent on a dead thread don't block FakeClock execution 2023-01-25 17:41:00 +00:00
test_utils_robolectric Remove flakiness from DefaultAnalyticsCollectorTest 2023-01-25 17:41:00 +00:00
transformer HDR: Implement ForceInterpretHdrVideoAsSdr 2022-11-09 20:05:24 +00:00
ui Mark broadcast receivers as not exported 2023-01-25 17:37:31 +00:00
ui_leanback Listen to playWhenReady changes in LeanbackPlayerAdapter 2022-07-11 15:49:33 +00:00