mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-29 00:59:20 +00:00
Fix warnings
This commit is contained in:
parent
37dd2841dd
commit
579a7d8972
3 changed files with 5 additions and 11 deletions
|
|
@ -119,7 +119,8 @@ int __aeabi_idiv(int a, int b) {
|
|||
#endif
|
||||
#ifdef HAVE_G729
|
||||
@"YES",@"g729_preference", // enable amr by default if compiled with
|
||||
#endif @"NO",@"debugenable_preference",
|
||||
#endif
|
||||
@"NO",@"debugenable_preference",
|
||||
//@"+33",@"countrycode_preference",
|
||||
nil];
|
||||
|
||||
|
|
@ -181,16 +182,6 @@ int __aeabi_idiv(int a, int b) {
|
|||
|
||||
[[UIApplication sharedApplication] registerForRemoteNotificationTypes:UIRemoteNotificationTypeAlert|UIRemoteNotificationTypeSound];
|
||||
|
||||
UIDevice* device = [UIDevice currentDevice];
|
||||
BOOL backgroundSupported = false;
|
||||
if ([device respondsToSelector:@selector(isMultitaskingSupported)]){
|
||||
backgroundSupported = device.multitaskingSupported;
|
||||
}
|
||||
if(backgroundSupported){
|
||||
[[LinphoneManager instance] kickOffBackgroundTCPConnection];
|
||||
NSLog(@"We are using my method");
|
||||
}
|
||||
|
||||
CTCallCenter* ct = [[CTCallCenter alloc] init];
|
||||
ct.callEventHandler = ^(CTCall* call) {
|
||||
@synchronized([LinphoneManager instance]) {
|
||||
|
|
|
|||
|
|
@ -362,6 +362,7 @@ static void linphone_iphone_call_state(LinphoneCore *lc, LinphoneCall* call, Lin
|
|||
cancelButtonTitle:NSLocalizedString(@"Continue",nil)
|
||||
otherButtonTitles:nil ,nil];
|
||||
[error show];
|
||||
[error release];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -45,8 +45,10 @@
|
|||
otherButtonTitles:nil];
|
||||
[error show];
|
||||
[error release];
|
||||
[ct release];
|
||||
return;
|
||||
}
|
||||
[ct release];
|
||||
|
||||
if (TRUE /*!linphone_core_in_call([LinphoneManager getLc])*/) {
|
||||
LinphoneProxyConfig* proxyCfg;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue