mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Add missing IntDef case in switch
PiperOrigin-RevId: 278332276
This commit is contained in:
parent
bd61b63ebc
commit
46d58b5eda
1 changed files with 1 additions and 0 deletions
|
|
@ -938,6 +938,7 @@ public final class MediaSessionConnector {
|
||||||
return playWhenReady ? PlaybackStateCompat.STATE_PLAYING : PlaybackStateCompat.STATE_PAUSED;
|
return playWhenReady ? PlaybackStateCompat.STATE_PLAYING : PlaybackStateCompat.STATE_PAUSED;
|
||||||
case Player.STATE_ENDED:
|
case Player.STATE_ENDED:
|
||||||
return PlaybackStateCompat.STATE_STOPPED;
|
return PlaybackStateCompat.STATE_STOPPED;
|
||||||
|
case Player.STATE_IDLE:
|
||||||
default:
|
default:
|
||||||
return PlaybackStateCompat.STATE_NONE;
|
return PlaybackStateCompat.STATE_NONE;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue