Ver código fonte

don't try to bring application to foreground when playback starts doesn't work on device and would likely lead to rejection

Tobias Conradi 10 anos atrás
pai
commit
4b8a4ce79c
1 arquivos alterados com 0 adições e 7 exclusões
  1. 0 7
      Sources/VLCAppDelegate.m

+ 0 - 7
Sources/VLCAppDelegate.m

@@ -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 {