summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm7
1 files changed, 7 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index c74ed17..21414b6 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -9720,6 +9720,13 @@ _end
[self saveState];
}
+- (void) applicationDidEnterBackground:(UIApplication *)application {
+ [self saveState];
+}
+
+- (void) applicationWillEnterForeground:(UIApplication *)application {
+}
+
- (void) setConfigurationData:(NSString *)data {
static Pcre conffile_r("^'(.*)' '(.*)' ([01]) ([01])$");