diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2019-10-23 09:17:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-23 09:17:47 -0400 |
commit | 15728619d9fc66217cac68143b29c9aac73b881f (patch) | |
tree | 432e4338e437ef3c9361b3975b34c7b951964dbc /SmartDeviceLink/SDLLifecycleManager.m | |
parent | f63401e11c9c4917c5d184906ab4e72fc5ec2945 (diff) | |
parent | 2d6a1552872c232bcdc4f35ff5c221b4adcd5ac2 (diff) | |
download | sdl_ios-15728619d9fc66217cac68143b29c9aac73b881f.tar.gz |
Merge pull request #1458 from smartdevicelink/bugfix/issue_1450_warning_message_fix
Fix wording in warning messages
Diffstat (limited to 'SmartDeviceLink/SDLLifecycleManager.m')
-rw-r--r-- | SmartDeviceLink/SDLLifecycleManager.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLLifecycleManager.m b/SmartDeviceLink/SDLLifecycleManager.m index 08eabe105..53f2059ac 100644 --- a/SmartDeviceLink/SDLLifecycleManager.m +++ b/SmartDeviceLink/SDLLifecycleManager.m @@ -324,7 +324,7 @@ NSString *const BackgroundTaskTransportName = @"com.sdl.transport.backgroundTask // If the negotiated protocol version is greater than the minimum allowable version, we need to end service and disconnect if ([self.configuration.lifecycleConfig.minimumProtocolVersion isGreaterThanVersion:[SDLGlobals sharedGlobals].protocolVersion]) { - SDLLogW(@"Disconnecting from head unit, protocol version %@ is greater than configured minimum version %@", [SDLGlobals sharedGlobals].protocolVersion.stringVersion, self.configuration.lifecycleConfig.minimumProtocolVersion.stringVersion); + SDLLogW(@"Disconnecting from head unit, protocol version %@ is less than configured minimum version %@", [SDLGlobals sharedGlobals].protocolVersion.stringVersion, self.configuration.lifecycleConfig.minimumProtocolVersion.stringVersion); [self.proxy.protocol endServiceWithType:SDLServiceTypeRPC]; [self sdl_transitionToState:SDLLifecycleStateStopped]; return; @@ -360,7 +360,7 @@ NSString *const BackgroundTaskTransportName = @"com.sdl.transport.backgroundTask - (void)didEnterStateRegistered { // If the negotiated RPC version is greater than the minimum allowable version, we need to unregister and disconnect if ([self.configuration.lifecycleConfig.minimumRPCVersion isGreaterThanVersion:[SDLGlobals sharedGlobals].rpcVersion]) { - SDLLogW(@"Disconnecting from head unit, RPC version %@ is greater than configured minimum version %@", [SDLGlobals sharedGlobals].rpcVersion.stringVersion, self.configuration.lifecycleConfig.minimumRPCVersion.stringVersion); + SDLLogW(@"Disconnecting from head unit, RPC version %@ is less than configured minimum version %@", [SDLGlobals sharedGlobals].rpcVersion.stringVersion, self.configuration.lifecycleConfig.minimumRPCVersion.stringVersion); [self sdl_transitionToState:SDLLifecycleStateUnregistering]; return; } |