
PlaybackStatsListener has a method whose original intention was to be called when the player is releaed to finish all pending sessions. However, this also meant that later events (e.g. onVideoDecoderDisabled) could create new sessions because the old one was already finished. Use the new onPlayerReleased callback to implement this properly and to fix the unintentional new session creation. PiperOrigin-RevId: 347809527