Commit 6e2ef1d6 authored by Gleb Pinigin's avatar Gleb Pinigin Committed by Felix Paul Kühne
Browse files

Idle timer should be properly handled by Mobile VLCKit


Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
parent f952317d
......@@ -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];
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment