mirror of
https://github.com/KDE/kasts.git
synced 2025-01-31 09:34:55 +01:00
Removed redundant setActions() for stopped playback in android.
This commit is contained in:
parent
83e6aadd96
commit
76b1d5c30d
@ -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