Skip to content
Verified Commit 49b60051 authored by Fushan Wen's avatar Fushan Wen
Browse files

dataengines/mpris2: Fix empty player condition

m_proxies does not always contain all players, and a player is added to
m_proxies only when it has a valid proxyPid. But the container is
ensured to be added to one of m_playing, m_paused and m_stopped.

So we need to ensure m_playing, m_paused and m_stopped are all empty
before emitting `playerListEmptied()`.

BUG: 447169
FIXED-IN: 5.24
parent 71f88e90
Pipeline #111996 passed with stage
in 9 minutes and 7 seconds
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