From a6895d2e346e2fcce25a33ddfca3c69ea86576d6 Mon Sep 17 00:00:00 2001 From: Brieuc Viel Date: Tue, 9 May 2017 12:35:42 +0200 Subject: [PATCH] [Bug] bugfix crash on launch if start_boot --- Classes/LinphoneAppDelegate.m | 2 +- linphone-Info.plist | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Classes/LinphoneAppDelegate.m b/Classes/LinphoneAppDelegate.m index 03265eebc..4fb3d38a5 100644 --- a/Classes/LinphoneAppDelegate.m +++ b/Classes/LinphoneAppDelegate.m @@ -306,7 +306,7 @@ [LinphoneManager.instance setProviderDelegate:self.del]; } - if (state != UIApplicationStateActive) { + if (state == UIApplicationStateBackground) { // we've been woken up directly to background; if (!start_at_boot || !background_mode) { // autoboot disabled or no background, and no push: do nothing and wait for a real launch diff --git a/linphone-Info.plist b/linphone-Info.plist index 80d3769e4..6d7f9c68c 100644 --- a/linphone-Info.plist +++ b/linphone-Info.plist @@ -24,7 +24,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 3.16.3 + 3.16.4 CFBundleURLTypes @@ -53,7 +53,7 @@ CFBundleVersion - 5 + 1 ITSAppUsesNonExemptEncryption ITSEncryptionExportComplianceCode