make sure normal bg mode is activated if at least one call exist

This commit is contained in:
Jehan Monnier 2014-02-18 16:19:53 +01:00
parent 0f08dc7f55
commit 1e11ce804a

View file

@ -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;
}