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

- Fix bug where duration of initially disabled tracks wasn't correctly incorporated into the overall duration reported by the player. - Don't transition to STATE_ENDED unless the position has reached the duration, if the duration is known. This allows for "playback" to continue when all renderers are disabled, rather than jumping straight to STATE_ENDED.