summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}