diff options
author | Muller, Alexander (A.) <amulle19@ford.com> | 2016-12-01 11:20:38 -0800 |
---|---|---|
committer | Muller, Alexander (A.) <amulle19@ford.com> | 2016-12-01 11:20:38 -0800 |
commit | 4c628b3820ca53990f028c789669a10f462dfb6f (patch) | |
tree | d353a1e04b25cefa43b7e278e6f9bbbcca70162b | |
parent | aa2165e8a86bcf1b155095c2e7fd269896271d02 (diff) | |
download | sdl_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.m | 3 |
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; } |