]> git.saurik.com Git - safemode-ios.git/commitdiff
Add safety to the notification bar. v0.9.3900
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 13 Oct 2011 21:49:17 +0000 (14:49 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 13 Oct 2011 21:49:17 +0000 (14:49 -0700)
MobileSafety.mm

index 3bc5b41354e7ddeb0384ce993e293f796632eb8f..d866387482a7f056c159cd4d780bb617cc111188 100644 (file)
@@ -50,6 +50,8 @@ MSMetaClassHook(UIImage)
 MSClassHook(AAAccountManager)
 MSMetaClassHook(AAAccountManager)
 
+MSClassHook(BBSectionInfo)
+
 MSClassHook(SBAlertItemsController)
 MSClassHook(SBButtonBar)
 MSClassHook(SBIconController)
@@ -247,3 +249,7 @@ MSInstanceMessageHook0(void, SBStatusBarTimeView, tile) {
     _textRect.origin.x = (frame.size.width - size.width) / 2;
     _textRect.origin.y = (frame.size.height - size.height) / 2;
 }
+
+MSInstanceMessageHook0(BOOL, BBSectionInfo, showsInNotificationCenter) {
+    return NO;
+}