]> git.saurik.com Git - safemode-ios.git/commitdiff
Do not delete notification settings (parrotgeek1).
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 15 Jan 2014 12:29:32 +0000 (04:29 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 15 Jan 2014 12:29:32 +0000 (04:29 -0800)
Tweak.xm

index e91b4b6f18f72909bff743c7ada05f6788fee5b3..9b4a1338a6ef9a5a166400554af628b6c2f2047a 100644 (file)
--- a/Tweak.xm
+++ b/Tweak.xm
@@ -308,6 +308,16 @@ static void AlertIfNeeded() {
 } %end
 
 
+// we don't want this state persisted back to disk, however: that is just really really irritating
+
+%hook BBServer
+- (void) _writeBehaviorOverrides {}
+- (void) _writeSectionOrder {}
+- (void) _writeClearedSections {}
+- (void) _writeSectionInfo {}
+%end
+
+
 // on iOS 6.0, Apple split parts of SpringBoard into a daemon called backboardd, including app launches
 // in order to allow safe mode to propogate into applications, we need to then tell backboardd here
 // XXX: (all of this should be replaced, however, with per-process launchd-mediated exception handling)