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

don't try to bring application to foreground when playback starts doesn't work...

don't try to bring application to foreground when playback starts doesn't work on device and would likely lead to rejection
parent 81dbdda5
......@@ -694,13 +694,6 @@
}
[self openMediaFromManagedObject:managedObject];
UIApplication *application = [UIApplication sharedApplication];
BOOL appShouldBeOpenedForPlayback = [[NSUserDefaults standardUserDefaults] boolForKey:kVLCSettingOpenAppForPlayback];
BOOL appIsInBackground = [application applicationState] == UIApplicationStateBackground;
if (appShouldBeOpenedForPlayback && appIsInBackground) {
[application openURL:[NSURL URLWithString:@"vlc-x-callback://x-callback-url"]];
}
}
- (NSDictionary *)nowPlayingResponseDict {
......
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