diff options
author | Justin Gluck <justin.gluck@livio.io> | 2019-12-09 15:27:24 -0500 |
---|---|---|
committer | Justin Gluck <justin.gluck@livio.io> | 2019-12-09 15:27:24 -0500 |
commit | db95b6ee46549e61a9583106583e542b4c54a469 (patch) | |
tree | cedccb9d718cab2120c2c1df3399307bb7d42b98 | |
parent | 3a0bc7652f7cd84c8b8a294394439c32a5bd8c76 (diff) | |
download | sdl_ios-db95b6ee46549e61a9583106583e542b4c54a469.tar.gz |
no message
-rw-r--r-- | SmartDeviceLink/SDLNotificationConstants.h | 3 | ||||
-rw-r--r-- | SmartDeviceLink/SDLNotificationConstants.m | 2 | ||||
-rw-r--r-- | SmartDeviceLink/SDLProxy.m | 4 | ||||
-rw-r--r-- | SmartDeviceLink/SDLSecondaryTransportManager.m | 1 |
4 files changed, 1 insertions, 9 deletions
diff --git a/SmartDeviceLink/SDLNotificationConstants.h b/SmartDeviceLink/SDLNotificationConstants.h index 65f9707d4..2c3adf827 100644 --- a/SmartDeviceLink/SDLNotificationConstants.h +++ b/SmartDeviceLink/SDLNotificationConstants.h @@ -130,9 +130,6 @@ extern SDLNotificationName const SDLDidBecomeReady; /// Name for a notification sent by the user when their CarWindow view has been updated extern SDLNotificationName const SDLDidUpdateProjectionView; -// Name for a security manager set notification -extern SDLNotificationName const SDLSecurityManagerSet; - /** * NSNotification names associated with specific RPC responses. */ diff --git a/SmartDeviceLink/SDLNotificationConstants.m b/SmartDeviceLink/SDLNotificationConstants.m index 7ff8c1d5b..73d935c57 100644 --- a/SmartDeviceLink/SDLNotificationConstants.m +++ b/SmartDeviceLink/SDLNotificationConstants.m @@ -22,8 +22,6 @@ SDLNotificationName const SDLDidReceiveLockScreenIcon = @"com.sdl.general.locksc SDLNotificationName const SDLDidBecomeReady = @"com.sdl.notification.managerReady"; SDLNotificationName const SDLDidReceiveVehicleIconNotification = @"com.sdl.notification.vehicleIcon"; SDLNotificationName const SDLDidUpdateProjectionView = @"com.sdl.notification.projectionViewUpdate"; -SDLNotificationName const SDLSecurityManagerSet = @"com.sdl.notification.securityManagerSet"; - #pragma mark - RPC Responses SDLNotificationName const SDLDidReceiveAddCommandResponse = @"com.sdl.response.addCommand"; diff --git a/SmartDeviceLink/SDLProxy.m b/SmartDeviceLink/SDLProxy.m index 2332be452..9cf6dad62 100644 --- a/SmartDeviceLink/SDLProxy.m +++ b/SmartDeviceLink/SDLProxy.m @@ -535,9 +535,7 @@ static float DefaultConnectionTimeout = 45.0; if (self.protocol.securityManager && [self.protocol.securityManager respondsToSelector:@selector(setAppId:)]) { self.protocol.securityManager.appId = self.appId; } - // Post Notification that the securityManager is set - [[NSNotificationCenter defaultCenter] postNotificationName:SDLSecurityManagerSet object:nil]; - + if ([SDLGlobals sharedGlobals].protocolVersion.major >= 4) { [self sendMobileHMIState]; // Send SDL updates to application state diff --git a/SmartDeviceLink/SDLSecondaryTransportManager.m b/SmartDeviceLink/SDLSecondaryTransportManager.m index b6fc75ef7..fae29acde 100644 --- a/SmartDeviceLink/SDLSecondaryTransportManager.m +++ b/SmartDeviceLink/SDLSecondaryTransportManager.m @@ -18,7 +18,6 @@ #import "SDLLogMacros.h" #import "SDLProtocol.h" #import "SDLProtocolHeader.h" -#import "SDLNotificationConstants.h" #import "SDLSecondaryTransportPrimaryProtocolHandler.h" #import "SDLStateMachine.h" #import "SDLTCPTransport.h" |