2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 05:37:43 +00:00
This commit is contained in:
Albert Vaca Cintora 2023-03-07 15:41:49 +01:00
parent aae3518bb9
commit 54952f11a5

View File

@ -255,7 +255,7 @@ public class MprisNowPlayingFragment extends Fragment implements VolumeKeyListen
targetPlayer = mpris.getPlayerStatus(player); targetPlayer = mpris.getPlayerStatus(player);
updatePlayerStatus(mpris); updatePlayerStatus(mpris);
if (targetPlayer.isPlaying()) { if (targetPlayer != null && targetPlayer.isPlaying()) {
MprisMediaSession.getInstance().playerSelected(targetPlayer); MprisMediaSession.getInstance().playerSelected(targetPlayer);
} }
} }