mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-30 13:47:41 +00:00
Don't close notification for last player if not playing
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user