From 9a60abe5e5246fda79175bd857c1cf9dfc46c9df Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 20 Feb 2011 01:27:47 -0800 Subject: Reset the 'external status' to 0 when Cydia starts. --- MobileCydia.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MobileCydia.mm b/MobileCydia.mm index dcbd188..24d9066 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -9666,6 +9666,8 @@ MSHook(void, UIApplication$_updateApplicationAccessibility, UIApplication *self, int main(int argc, char *argv[]) { _pooled _trace(); + UpdateExternalStatus(0); + if (Class $UIDevice = objc_getClass("UIDevice")) { UIDevice *device([$UIDevice currentDevice]); IsWildcat_ = [device respondsToSelector:@selector(isWildcat)] && [device isWildcat]; -- cgit v1.2.3