Commit 46d58b5e by olly Committed by Oliver Woodman

Add missing IntDef case in switch

PiperOrigin-RevId: 278332276
parent bd61b63e
......@@ -938,6 +938,7 @@ public final class MediaSessionConnector {
return playWhenReady ? PlaybackStateCompat.STATE_PLAYING : PlaybackStateCompat.STATE_PAUSED;
case Player.STATE_ENDED:
return PlaybackStateCompat.STATE_STOPPED;
case Player.STATE_IDLE:
default:
return PlaybackStateCompat.STATE_NONE;
}
......
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