Commit 8fb0af83 by olly Committed by tonihei

Use stop(boolean) in MediaSessionConnector

parent 08d827f2
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment