summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Dickow <jjdickow@gmail.com>2016-03-10 16:53:40 -0500
committerJustin Dickow <jjdickow@gmail.com>2016-03-10 16:53:40 -0500
commit2aee63a320bf44d12ec5f3880b3f5afb5440930d (patch)
tree8f41aac4d102069e9edac74c2e33346bc7f129ac
parent2936f303dad7e1b1fe5494119088eeb6d4d34fe5 (diff)
downloadsdl_ios-hotfix/issue_377.tar.gz
use SDLGlobals versionhotfix/issue_377
-rw-r--r--SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m2
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];