Add missing IntDef case in switch
PiperOrigin-RevId: 278332276
This commit is contained in:
parent
bd61b63ebc
commit
46d58b5eda
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user