diff options
author | Justin Dickow <jjdickow@gmail.com> | 2016-03-10 16:53:40 -0500 |
---|---|---|
committer | Justin Dickow <jjdickow@gmail.com> | 2016-03-10 16:53:40 -0500 |
commit | 2aee63a320bf44d12ec5f3880b3f5afb5440930d (patch) | |
tree | 8f41aac4d102069e9edac74c2e33346bc7f129ac | |
parent | 2936f303dad7e1b1fe5494119088eeb6d4d34fe5 (diff) | |
download | sdl_ios-hotfix/issue_377.tar.gz |
use SDLGlobals versionhotfix/issue_377
-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 b0054a276..7f9b6b2a3 100644 --- a/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m +++ b/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m @@ -322,7 +322,7 @@ const int POLICIES_CORRELATION_ID = 65535; //Print Proxy Version To Console NSString *logMessage = [NSString stringWithFormat:@"Framework Version: %@", self.proxyVersion]; [SDLDebugTool logInfo:logMessage withType:SDLDebugType_RPC toOutput:SDLDebugOutput_All toGroup:self.debugConsoleGroupName]; - if (_version >= 4) { + if ([SDLGlobals globals].protocolVersion >= 4) { [self sendMobileHMIState]; // Send SDL updates to application state [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(sendMobileHMIState) name:UIApplicationDidBecomeActiveNotification object:nil]; |