Commit f06bd2e2 authored by Tobias's avatar Tobias Committed by Felix Paul Kühne
Browse files

fix remote control commands on pre iOS 7.1. (closes #14996)

(cherry picked from commit a7530da6

)
Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 5b5c573d
......@@ -416,6 +416,12 @@ didFailToContinueUserActivityWithType:(NSString *)userActivityType
scrollPosition:UITableViewScrollPositionNone];
}
#pragma mark - remote events pre 7.1
- (void)remoteControlReceivedWithEvent:(UIEvent *)event {
[[VLCPlaybackController sharedInstance] remoteControlReceivedWithEvent:event];
}
#pragma mark - watch struff
- (void)application:(UIApplication *)application
handleWatchKitExtensionRequest:(NSDictionary *)userInfo
......
......@@ -95,5 +95,6 @@ currentMediaHasTrackToChooseFrom:(BOOL)currentMediaHasTrackToChooseFrom
- (void)playMediaList:(VLCMediaList *)mediaList firstIndex:(int)index;
- (void)playURL:(NSURL *)url successCallback:(NSURL*)successCallback errorCallback:(NSURL *)errorCallback;
- (void)playURL:(NSURL *)url subtitlesFilePath:(NSString *)subsFilePath;
- (void)remoteControlReceivedWithEvent:(UIEvent *)event;
@end
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