Commit 74b20ff
committed
fix(keybinding): fix mute state conflict when volume is reduced to 0
When the volume is reduced to 0, changeSinkVolume first calls
SetMute(false) to unmute, then SetVolume(0) internally calls
SetMute(true) to mute again, resulting in a redundant DBus call
and potential UI flicker of the mute state.
当音量减小到0时,changeSinkVolume中先调用SetMute(false)取消静音,
随后SetVolume(0)内部又调用SetMute(true)重新设置静音,导致一次
多余的DBus调用,并可能引起UI静音状态短暂闪烁。
Log: fix mute state conflict when volume is reduced to 0
Pms: BUG-3507631 parent 6ac642c commit 74b20ff
1 file changed
Lines changed: 0 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | 219 | | |
231 | 220 | | |
232 | 221 | | |
| |||
0 commit comments