Deduplicate clear playlist code for stop(true) calls.
The logic to clear the playlist is currently duplicated in various reset methods so that calls to player.stop(true) can clear the playlist. This can be deduplicated by clearing the playlist as a seperate operation that reuses the existing code. PiperOrigin-RevId: 321578759
Showing
with
56 additions
and
124 deletions
Please
register
or
sign in
to comment