summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2016-12-29 11:46:24 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2016-12-29 11:46:24 -0800
commit8bd55062b41bb5598bba59417a90b57e720d3e9b (patch)
tree612528364a4d6f86ab2ed6b886259daeec52f527
parent0209cce51675512f80e740ce45d568ed6d0029c0 (diff)
Seriously: not a single person actually helped :/.v1.1.28%b1
-rw-r--r--MobileCydia.mm5
-rw-r--r--iPhonePrivate.h2
2 files changed, 2 insertions, 5 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 813a382..d25e070 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -4637,10 +4637,7 @@ static _H<NSMutableSet> Diversions_;
}
- (NSArray *) getDisplayIdentifiers {
- NSSet *set([SBSCopyApplicationDisplayIdentifiers() autorelease]);
- if (set == nil || ![set isKindOfClass:[NSSet class]])
- return [NSArray array];
- return [set allObjects];
+ return SBSCopyApplicationDisplayIdentifiers(false, false);
}
- (NSString *) getLocalizedNameForDisplayIdentifier:(NSString *)identifier {
diff --git a/iPhonePrivate.h b/iPhonePrivate.h
index 5e97c50..46cde9f 100644
--- a/iPhonePrivate.h
+++ b/iPhonePrivate.h
@@ -438,7 +438,7 @@ extern float const UIWebViewScalesToFitScale;
extern "C" void *reboot2(uint64_t flags);
extern "C" mach_port_t SBSSpringBoardServerPort();
extern "C" int SBBundlePathForDisplayIdentifier(mach_port_t port, const char *identifier, char *path);
-extern "C" NSSet *SBSCopyApplicationDisplayIdentifiers();
+extern "C" NSArray *SBSCopyApplicationDisplayIdentifiers(bool active, bool debuggable);
extern "C" NSString *SBSCopyLocalizedApplicationNameForDisplayIdentifier(NSString *);
extern "C" NSString *SBSCopyIconImagePathForDisplayIdentifier(NSString *);
extern "C" UIImage *_UIImageWithName(NSString *name);