Commit d9502664 authored by Nicolas Fella's avatar Nicolas Fella

Don't close notification for last player if not playing

parent 9f005b50
......@@ -196,7 +196,7 @@ public class MprisMediaSession implements SharedPreferences.OnSharedPreferenceCh
Device device = service.getDevice(notificationDevice);
if (device != null && device.isPluginEnabled("MprisPlugin")) {
if (shouldShowPlayer(notificationPlayer) && notificationPlayer.isPlaying()){
if (shouldShowPlayer(notificationPlayer)){
return new Pair<>(device, notificationPlayer);
}
......
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 to comment