Commit 37f9ca3e authored by Carola's avatar Carola

VLCAppDelegate: replace deprecated openURL:sourceApplication with openURL:options

parent b6bfbff5
......@@ -292,15 +292,6 @@ didFailToContinueUserActivityWithType:(NSString *)userActivityType
}
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options
{
[self playWithUrl:url successCallback:nil errorCallback:nil];
return YES;
}
- (BOOL)application:(UIApplication *)application
openURL:(NSURL *)url
sourceApplication:(NSString *)sourceApplication
annotation:(id)annotation
{
//Handles Dropbox Authorization flow.
DBOAuthResult *authResult = [DBClientsManager handleRedirectURL:url];
......@@ -317,7 +308,7 @@ didFailToContinueUserActivityWithType:(NSString *)userActivityType
}
if (_libraryViewController && url != nil) {
APLog(@"%@ requested %@ to be opened", sourceApplication, url);
APLog(@"requested %@ to be opened", url);
if (url.isFileURL) {
NSArray *searchPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
......
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