mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

The track id must be the index in the list of published tracks as it's used as such elsewhere. This is currently not true if we skip an empty track as all subsequent tracks get a wrong or even invalid id. #minor-release PiperOrigin-RevId: 604929178 (cherry picked from commit 5f9c96ab53c571af90457e9f22bac1fe32209bd5)