mirror of
https://github.com/androidx/media.git
synced 2025-05-06 23:20:42 +08:00

The current code creates placeholder metadata elements if there is no static metadata. This causes onStaticMetadataChanged callbacks even if there is no metadata. Instead, we can keep the empty list as the static metadata is already documented to be an empty list if the metadata is unavailable. #exofixit PiperOrigin-RevId: 344071639