summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuller, Alexander (A.) <amulle19@ford.com>2016-12-01 11:20:38 -0800
committerMuller, Alexander (A.) <amulle19@ford.com>2016-12-01 11:20:38 -0800
commit4c628b3820ca53990f028c789669a10f462dfb6f (patch)
treed353a1e04b25cefa43b7e278e6f9bbbcca70162b
parentaa2165e8a86bcf1b155095c2e7fd269896271d02 (diff)
downloadsdl_ios-4c628b3820ca53990f028c789669a10f462dfb6f.tar.gz
Adding in a check to see if we can set appId for backward compatibility.feature/issue_470
-rw-r--r--SmartDeviceLink/SDLProxy.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLProxy.m b/SmartDeviceLink/SDLProxy.m
index c4229da63..b26a12ee6 100644
--- a/SmartDeviceLink/SDLProxy.m
+++ b/SmartDeviceLink/SDLProxy.m
@@ -386,7 +386,8 @@ const int POLICIES_CORRELATION_ID = 65535;
_streamingMediaManager.displayCapabilties = registerResponse.displayCapabilities;
}
self.protocol.securityManager = [self securityManagerForMake:registerResponse.vehicleType.make];
- if (self.protocol.securityManager) {
+ if (self.protocol.securityManager
+ && [self.protocol.securityManager respondsToSelector:@selector(setAppId:)]) {
self.protocol.securityManager.appId = self.appId;
}