mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
fix no callkit error
This commit is contained in:
parent
f5b7ebf56e
commit
b8051bdd99
2 changed files with 2 additions and 2 deletions
|
|
@ -622,7 +622,7 @@ static void linphone_iphone_display_status(struct _LinphoneCore *lc, const char
|
|||
|
||||
if (floor(NSFoundationVersionNumber) > NSFoundationVersionNumber_iOS_9_x_Max) {
|
||||
if (call && (linphone_core_get_calls_nb(LC) < 2)) {
|
||||
if ([LinphoneManager.instance lpConfigBoolForKey:@"pref_accept_early_media"]) {
|
||||
if ([LinphoneManager.instance lpConfigBoolForKey:@"accept_early_media" inSection:@"app"] && [LinphoneManager.instance lpConfigBoolForKey:@"pref_accept_early_media"]) {
|
||||
[PhoneMainView.instance displayIncomingCall:call];
|
||||
} else {
|
||||
#if !TARGET_IPHONE_SIMULATOR
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@
|
|||
</dict>
|
||||
<dict>
|
||||
<key>DefaultValue</key>
|
||||
<true/>
|
||||
<false/>
|
||||
<key>Key</key>
|
||||
<string>pref_accept_early_media_preference</string>
|
||||
<key>Title</key>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue