mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Always display incoming call on IOS < 10
This commit is contained in:
parent
a71be96923
commit
ed9dc370d4
2 changed files with 4 additions and 2 deletions
|
|
@ -114,7 +114,8 @@
|
|||
}
|
||||
instance->currentCallContextBeforeGoingBackground.call = 0;
|
||||
} else if (linphone_call_get_state(call) == LinphoneCallIncomingReceived) {
|
||||
if (linphone_core_get_calls_nb(LC) > 1) {
|
||||
if (linphone_core_get_calls_nb(LC) > 1 ||
|
||||
(floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_9_x_Max)) {
|
||||
[PhoneMainView.instance displayIncomingCall:call];
|
||||
}
|
||||
// in this case, the ringing sound comes from the notification.
|
||||
|
|
|
|||
|
|
@ -323,7 +323,8 @@ static RootViewManager *rootViewManagerInstance = nil;
|
|||
switch (state) {
|
||||
case LinphoneCallIncomingReceived:
|
||||
case LinphoneCallIncomingEarlyMedia: {
|
||||
if (linphone_core_get_calls_nb(LC) > 1) {
|
||||
if (linphone_core_get_calls_nb(LC) > 1 ||
|
||||
(floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_9_x_Max)) {
|
||||
[self displayIncomingCall:call];
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue