SIGN IN SIGN UP

Filter out non-playable media items during CastPlayer transfer

When transferring playback state between target and source players, filter out
media items that do not have a valid playback URI (localConfiguration is null
or has empty URI), as they are not playable by the target player. Adjust the
current item index accordingly if the active item was filtered.

Issue: androidx/media#3199
PiperOrigin-RevId: 941733433
(cherry picked from commit 1444b4e98d77a52f4d803689a6af92768bb15eda)
A
aquilescanta committed
194357390cdae3eb7167fc4c19f657e5b698bb8d
Parent: 20f0e8c
Committed by microkatz <michaelkatz@google.com> on 7/3/2026, 11:36:16 AM