Commit 016bacd1 by bachinger Committed by kim-vde

remove deprecated usage of onPlayerStateChanged

PiperOrigin-RevId: 294181886
parent fc24a0d5
...@@ -1095,7 +1095,13 @@ public final class MediaSessionConnector { ...@@ -1095,7 +1095,13 @@ public final class MediaSessionConnector {
} }
@Override @Override
public void onPlayerStateChanged(boolean playWhenReady, @Player.State int playbackState) { public void onPlaybackStateChanged(@Player.State int playbackState) {
invalidateMediaSessionPlaybackState();
}
@Override
public void onPlayWhenReadyChanged(
boolean playWhenReady, @Player.PlayWhenReadyChangeReason int reason) {
invalidateMediaSessionPlaybackState(); invalidateMediaSessionPlaybackState();
} }
......
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