Преглед изворни кода

Idle timer should be properly handled by Mobile VLCKit

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Gleb Pinigin пре 12 година
родитељ
комит
6e2ef1d69d
1 измењених фајлова са 0 додато и 3 уклоњено
  1. 0 3
      AspenProject/VLCMovieViewController.m

+ 0 - 3
AspenProject/VLCMovieViewController.m

@@ -79,8 +79,6 @@
         if (self.mediaItem.lastPosition && [self.mediaItem.lastPosition floatValue] < 0.99)
             [_mediaPlayer setPosition:[self.mediaItem.lastPosition floatValue]];
         [_mediaPlayer play];
-
-        [UIApplication sharedApplication].idleTimerDisabled = YES;
     }
 }
 
@@ -89,7 +87,6 @@
     [self.navigationController setNavigationBarHidden:NO animated:YES];
 
     [_mediaPlayer pause];
-    [UIApplication sharedApplication].idleTimerDisabled = NO;
     [super viewWillDisappear:animated];
 }