diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-20 01:27:47 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-20 01:27:47 -0800 |
commit | 9a60abe5e5246fda79175bd857c1cf9dfc46c9df (patch) | |
tree | 9a66e290859790303a5f3c3bbc9ad9bd7e3fc48f | |
parent | be860cc8aff097d7ab995371463543e89493c79f (diff) |
Reset the 'external status' to 0 when Cydia starts.
-rw-r--r-- | MobileCydia.mm | 2 |
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]; |