summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-20 01:27:47 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-02-20 01:27:47 -0800
commit9a60abe5e5246fda79175bd857c1cf9dfc46c9df (patch)
tree9a66e290859790303a5f3c3bbc9ad9bd7e3fc48f /MobileCydia.mm
parentbe860cc8aff097d7ab995371463543e89493c79f (diff)
Reset the 'external status' to 0 when Cydia starts.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm2
1 files changed, 2 insertions, 0 deletions
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];