Skip to content

Have ringtone even when incoming call starts on top of lockscreen

Marco Mattiolo requested to merge (removed):tiol-master-patch-06588 into master

Hi and thank you for developing Plasma dialer!

I was testing the 22.09 version to be packaged for Debian and I noticed that, on incoming call when screen is locked, accept/reject screen pops up correctly, but no ringtone is played. This is bad, as most of times screen is locked, user is not looking at the phone and sound notification is needed to get their attention.

By applying this MR, the "old" notification is shown on lockscreen and ringtone starts playing while launchPlasmaDialerDesktopFile() completes. As soon as launchPlasmaDialerDesktopFile() completes, the accept/reject screen superimposes on top of lockscreen and ringtones continues. (to be honest, ringtone volume lowered a bit when accept/reject screen has popped out, but the relevant part is that it continued playing)

As already stated in the past, I am not a skilled programmer and this MR is not perfect but anyway better than the actual state. Feel free to reject it and re-implement it better, or improve it.

Merge request reports

Loading