New sound for push notif

This commit is contained in:
Erwan Croze 2016-08-01 17:12:36 +02:00
parent 4c09541746
commit a7d383aedf
2 changed files with 1 additions and 2 deletions

View file

@ -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.