diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2008-07-25 11:48:40 +0000 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-09-30 07:08:12 +0000 |
commit | 5afbb4b7d503caece8ad938cb7b53a1fd4175ce9 (patch) | |
tree | 4fa65bd108ac479de71a6b969b42c019365ae733 | |
parent | c6ad32a6b1dff7c8843aab864e6ee53ea2be6fcf (diff) |
Removed idle timer.
-rw-r--r-- | Cydia.mm | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -142,6 +142,10 @@ extern "C" { #endif /* }}} */ +@interface UIApplication (IdleTimer) +- (void) setIdleTimerDisabled:(char)arg0; +@end + #ifdef __OBJC2__ typedef enum { kUIProgressIndicatorStyleMediumWhite = 1, @@ -2460,7 +2464,6 @@ Pcre conffile_r("^'(.*)' '(.*)' ([01]) ([01])$"); #endif [delegate_ setStatusBarShowsProgress:NO]; - //[[UIApplication sharedApplication] setIdleTimerDisabled:YES]; running_ = NO; } @@ -5677,6 +5680,8 @@ Pcre conffile_r("^'(.*)' '(.*)' ([01]) ([01])$"); readlink("/usr/libexec", NULL, 0) == -1 && errno == EINVAL || readlink("/usr/share", NULL, 0) == -1 && errno == EINVAL ) { + [self setIdleTimerDisabled:YES]; + hud_ = [[UIProgressHUD alloc] initWithWindow:window_]; [hud_ setText:@"Reorganizing\n\nWill Automatically\nRestart When Done"]; [hud_ show:YES]; |