The source project of this merge request has been removed.
call-display: switch to default audio profile only if no other call
Currently, when any call is terminated, audio profile/routing is switched to the default one.
This is a problem when already into a call and getting a second one: rejecting the new call will keep the first one going, but with the wrong audio profile, making it difficult (or, on the PinePhone, impossible) to keep talking.
This patch makes sure there is no other ongoing call before switching the audio mode, so that it's possible to keep the first call going even after rejecting the second one.