mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
reload callincoming view when necessary
This commit is contained in:
parent
3e91b3907d
commit
935fb467d2
1 changed files with 11 additions and 1 deletions
|
|
@ -390,7 +390,17 @@ static RootViewManager *rootViewManagerInstance = nil;
|
|||
}
|
||||
} else {
|
||||
linphone_call_resume((LinphoneCall *)calls->data);
|
||||
[self changeCurrentView:CallView.compositeViewDescription];
|
||||
while (calls) {
|
||||
if (linphone_call_get_state((LinphoneCall *)calls->data) == LinphoneCallIncomingReceived ||
|
||||
linphone_call_get_state((LinphoneCall *)calls->data) == LinphoneCallIncomingEarlyMedia) {
|
||||
[self displayIncomingCall:(LinphoneCall *)calls->data];
|
||||
break;
|
||||
}
|
||||
calls = calls->next;
|
||||
}
|
||||
if (calls == NULL) {
|
||||
[self changeCurrentView:CallView.compositeViewDescription];
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue