https://bugs.kde.org/show_bug.cgi?id=524454

Pacman <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/netw
                   |                            |ork/kdeconnect-android/-/co
                   |                            |mmit/c856e4d4cb67ca913ef343
                   |                            |97b77fcad7135461a8
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Pacman <[email protected]> ---
Git commit c856e4d4cb67ca913ef34397b77fcad7135461a8 by Masum Ali.
Committed on 14/10/2026 at 13:07.
Pushed by albertvaka into branch 'master'.

mpris: Clear stale player and device state when a device disconnects

When a device disconnects, removeDevice() removes the device ID from
mprisDevices and calls updateMediaNotification(). However,
currentShowingPlayer and lastShowingDeviceId still referenced the
disconnected device.

Because findPlayer() prefers currentShowingPlayer and its device before
evaluating mprisDevices, the notification logic would find and revive the
stale player from the disconnected device, preventing the media notification
from being dismissed.

Clear currentShowingPlayer and lastShowingDeviceId in removeDevice() when
the disconnected device matches, allowing closeMediaNotification() to
properly cancel the notification.

M  +6    -0   
src/main/java/org/kde/kdeconnect/plugins/mpris/MprisMediaSession.kt

https://invent.kde.org/network/kdeconnect-android/-/commit/c856e4d4cb67ca913ef34397b77fcad7135461a8

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to