media/libraries/session/src/main
bachinger b8ec6b836b Add interoperability for media item commands
See https://developer.android.com/training/cars/media#custom_browse_actions

- `MediaMetadata.supportedCommands` is converted to an array list of
  strings into the extras of `MediaDescriptionCompat` with `DESCRIPTION_EXTRAS_KEY_CUSTOM_BROWSER_ACTION_ID_LIST` and vice versa.

- The set of media item command buttons of a session is passed in the
root hints to a legacy browser that connects. A Media3 browser connected
to a legacy service, gets the set of all commands after calling
`getLibraryRoot()`.

#cherrypick

PiperOrigin-RevId: 678807473
2024-09-25 12:40:22 -07:00
..
aidl/androidx/media3/session Sync and map fatal and non-fatal errors from and to the legacy session 2024-06-12 06:26:00 -07:00
java/androidx/media3/session Add interoperability for media item commands 2024-09-25 12:40:22 -07:00
res Remove dead code from MediaStyleNotificationHelper now minSdk is 21 2024-07-15 01:56:37 -07:00
AndroidManifest.xml Update to androidx.media3 2021-10-27 09:12:46 +01:00