diff options
-rw-r--r-- | SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m b/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m index 18a09d0b1..f6c7d091c 100644 --- a/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m +++ b/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m @@ -365,7 +365,7 @@ const int POLICIES_CORRELATION_ID = 65535; // If system version is less than 9.0 http://stackoverflow.com/a/5337804/1370927 if ([[[UIDevice currentDevice] systemVersion] compare:@"9.0" options:NSNumericSearch] == NSOrderedAscending) { // Return early if we can't openURL because openURL will crash instead of fail silently in < 9.0 - if ([[UIApplication sharedApplication] canOpenURL:URLScheme] == NO) { + if (![[UIApplication sharedApplication] canOpenURL:URLScheme]) { return; } } |