mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-13 16:07:36 +00:00
ringer: Make sure to reset feedback profile if not set to "quiet"
This commit is contained in:
parent
e604779497
commit
9fff41fd53
1 changed files with 3 additions and 3 deletions
|
@ -104,14 +104,14 @@ static void
|
|||
start (CallsRinger *self,
|
||||
gboolean quiet)
|
||||
{
|
||||
if (self->event)
|
||||
lfb_event_set_feedback_profile (self->event, quiet ? "quiet" : NULL);
|
||||
|
||||
if (self->state == CALLS_RING_STATE_PLAYING ||
|
||||
self->state == CALLS_RING_STATE_REQUEST_PLAY)
|
||||
return;
|
||||
|
||||
if (self->event) {
|
||||
if (quiet)
|
||||
lfb_event_set_feedback_profile (self->event, "quiet");
|
||||
|
||||
g_clear_object (&self->cancel_ring);
|
||||
self->cancel_ring = g_cancellable_new ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue