From e95025382fd9ff98d7d32e4484828eaca18d10a6 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 13 Oct 2011 14:49:17 -0700 Subject: Add safety to the notification bar. --- MobileSafety.mm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MobileSafety.mm b/MobileSafety.mm index 3bc5b41..d866387 100644 --- a/MobileSafety.mm +++ b/MobileSafety.mm @@ -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; +} -- cgit v1.2.3