From 2acc4fa4d400257a3be72965d602d31edd54ebd4 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 30 Oct 2014 03:04:19 -0700 Subject: Do not attempt to suspend Cydia on iOS before 8.0. --- MobileCydia.mm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'MobileCydia.mm') diff --git a/MobileCydia.mm b/MobileCydia.mm index ac7f0b9..5d84d6d 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -9723,6 +9723,8 @@ _end } - (void) applicationDidEnterBackground:(UIApplication *)application { + if (kCFCoreFoundationVersionNumber < 1000 && [self isSafeToSuspend]) + return [self terminateWithSuccess]; [self saveState]; } -- cgit v1.2.3