SIGN IN SIGN UP

Fix RemoteCastPlayer masking state inconsistency

Clean up the `pendingResultCallback` of `currentTracks` when it has been accepted. This prevents subsequent callbacks from being spuriously rejected.

Clean up all `pendingResultCallback(s)` and masking state when there is a session change.

Issue: androidx/media#3237
PiperOrigin-RevId: 938730075
T
tanaykhemani committed
82c507cc301606ae969dba5f511cf182c12ed863
Parent: d5db467
Committed by Copybara-Service <copybara-worker@google.com> on 6/26/2026, 7:57:19 PM