diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2016-03-04 10:42:01 -0500 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2016-03-04 10:42:01 -0500 |
commit | a4f1eac95ceeb90270cd054a66045b29b3992fd8 (patch) | |
tree | 3a26470379488a28d35298b8bd8f0691518725be | |
parent | 3b59b5981001a33bb73ee4faf1db1e6b4eb1cb80 (diff) | |
download | sdl_ios-a4f1eac95ceeb90270cd054a66045b29b3992fd8.tar.gz |
Only call `onProxyOpened:` when its an RPC servicehotfix/issue_359
-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 806575f0f..19da7f3cc 100644 --- a/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m +++ b/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m @@ -180,7 +180,7 @@ const int POLICIES_CORRELATION_ID = 65535; NSString *logMessage = [NSString stringWithFormat:@"StartSession (response)\nSessionId: %d for serviceType %d", sessionID, serviceType]; [SDLDebugTool logInfo:logMessage withType:SDLDebugType_RPC toOutput:SDLDebugOutput_All toGroup:self.debugConsoleGroupName]; - if (serviceType == SDLServiceType_RPC || [SDLGlobals globals].protocolVersion >= 2) { + if (serviceType == SDLServiceType_RPC) { [self invokeMethodOnDelegates:@selector(onProxyOpened) withObject:nil]; } } |