Avoid ending session early if an unrelated other session is finished
Currently, we always end the current session if onSessionFinished is called. However, the finished session may not be the active one (for example when discarding prebuffered items in a playlist). To make this code more robust, we can save the active session id explicitly and only end this session. PiperOrigin-RevId: 422788542
Showing
with
8 additions
and
4 deletions
Please
register
or
sign in
to comment