mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-29 09:09:21 +00:00
Merge branch 'master' of git://git.linphone.org/linphone-iphone into buschjaeger_new_ui
This commit is contained in:
commit
8634a10095
1 changed files with 8 additions and 4 deletions
|
|
@ -507,10 +507,14 @@ static void linphone_iphone_display_status(struct _LinphoneCore * lc, const char
|
|||
incallBgTask=0;
|
||||
}
|
||||
if(data != nil && data->notification != nil) {
|
||||
// cancel local notif if needed
|
||||
[[UIApplication sharedApplication] cancelLocalNotification:data->notification];
|
||||
[data->notification release];
|
||||
data->notification = nil;
|
||||
LinphoneCallLog *log = linphone_call_get_call_log(call);
|
||||
|
||||
if(log == NULL || log->status != LinphoneCallMissed) {
|
||||
// cancel local notif if needed
|
||||
[[UIApplication sharedApplication] cancelLocalNotification:data->notification];
|
||||
[data->notification release];
|
||||
data->notification = nil;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue