From 1e11ce804a648f99ed5e90bc76f889e9534a1c54 Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Tue, 18 Feb 2014 16:19:53 +0100 Subject: [PATCH] make sure normal bg mode is activated if at least one call exist --- Classes/LinphoneManager.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index f02444f81..e0990d59f 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -1143,6 +1143,9 @@ static int comp_call_state_paused (const LinphoneCall* call, const void* param) && callList // at least one call in a non active state && ms_list_find_custom((MSList*)callList, (MSCompareFunc) comp_call_state_paused, NULL)) { [self startCallPausedLongRunningTask]; + } + if (callList){ + /*if at least one call exist, enter normal bg mode */ shouldEnterBgMode=TRUE; }