forked from mirrors/linphone-iphone
New sound for push notif
This commit is contained in:
parent
4c09541746
commit
a7d383aedf
2 changed files with 1 additions and 2 deletions
|
|
@ -585,7 +585,6 @@ static void linphone_iphone_display_status(struct _LinphoneCore *lc, const char
|
|||
UILocalNotification *notif = [timer userInfo];
|
||||
if (notif) {
|
||||
LOGI(@"cancelling/presenting local notif");
|
||||
[[UIApplication sharedApplication] cancelLocalNotification:notif];
|
||||
[[UIApplication sharedApplication] presentLocalNotificationNow:notif];
|
||||
}
|
||||
}
|
||||
|
|
@ -650,7 +649,7 @@ static void linphone_iphone_display_status(struct _LinphoneCore *lc, const char
|
|||
data->notification.category = @"incoming_call";
|
||||
} else {
|
||||
data->notification.soundName = @"shortring.caf";
|
||||
data->timer = [NSTimer scheduledTimerWithTimeInterval:4.0
|
||||
data->timer = [NSTimer scheduledTimerWithTimeInterval:5
|
||||
target:self
|
||||
selector:@selector(localNotifContinue:)
|
||||
userInfo:data->notification
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Reference in a new issue