This change fixes a NullPointerException that was thrown when a
MediaItem was attempted to be converted to a MediaQueueItem
when casting.
The other commit changes the gradle and gradle plugin version to
be the same as the Media3 project is using. This has the advantage,
that UAMP can be linked directly to the source code repository of
androidx/media as documented in
https://github.com/androidx/media?tab=readme-ov-file#locally.
This change fixes a NullPointerException that was thrown when a MediaItem was attempted to be converted to a MediaQueueItem when casting.
The other commit changes the gradle and gradle plugin version to be the same as the Media3 project is using. This has the advantage, that UAMP can be linked directly to the source code repository of androidx/media as documented in https://github.com/androidx/media?tab=readme-ov-file#locally.