mirror of
https://github.com/samsonjs/media.git
synced 2026-04-04 11:05:47 +00:00
Use stop(boolean) in MediaSessionConnector
This commit is contained in:
parent
08d827f2ed
commit
8fb0af83f5
1 changed files with 1 additions and 2 deletions
|
|
@ -1208,8 +1208,7 @@ public final class MediaSessionConnector {
|
|||
@Override
|
||||
public void onStop() {
|
||||
if (canDispatchPlaybackAction(PlaybackStateCompat.ACTION_STOP)) {
|
||||
player.stop();
|
||||
player.clearMediaItems();
|
||||
player.stop(/* reset= */ true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue