mirror of
https://github.com/androidx/media.git
synced 2025-05-08 16:10:38 +08:00

Despite unregistering the callback and clearing pending Handler messages, the callback may still receive pending calls if they are already triggered by the AudioTrack. Instead of asserting that the track is correct, we should gracefully ignore stale events. PiperOrigin-RevId: 463851393