diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2014-10-30 03:04:19 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2014-10-30 03:04:19 -0700 |
commit | 2acc4fa4d400257a3be72965d602d31edd54ebd4 (patch) | |
tree | 1624e056f9c8d59b021052e44aa8441e83b98d3b | |
parent | 3c2ecf2b7d112da637aa741365c2685d93f282a5 (diff) |
Do not attempt to suspend Cydia on iOS before 8.0.
-rw-r--r-- | MobileCydia.mm | 2 |
1 files changed, 2 insertions, 0 deletions
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]; } |