Removed redundant setActions() for stopped playback in android.
This commit is contained in:
parent
05fb1a9e5b
commit
2504f41365
@ -38,7 +38,6 @@ public class MediaService extends Service {
|
||||
mSession.setPlaybackState(mPBuilder.build());
|
||||
}
|
||||
case 2: {
|
||||
mPBuilder.setActions(PlaybackStateCompat.ACTION_PAUSE | PlaybackStateCompat.ACTION_STOP);
|
||||
mPBuilder.setState(PlaybackStateCompat.STATE_STOPPED,
|
||||
0, 1.0f);
|
||||
mSession.setPlaybackState(mPBuilder.build());
|
||||
|
Loading…
x
Reference in New Issue
Block a user