diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2019-10-22 14:58:15 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2019-10-22 14:58:15 -0400 |
commit | 2d6a1552872c232bcdc4f35ff5c221b4adcd5ac2 (patch) | |
tree | 4c8af785d85d3c883df73b2037d5dc7cf3e8b583 /SmartDeviceLink/SDLLifecycleManager.m | |
parent | a2998372a2466551ca179ccb0bd78965546162ea (diff) | |
download | sdl_ios-2d6a1552872c232bcdc4f35ff5c221b4adcd5ac2.tar.gz |
Fix wording in warning messagebugfix/issue_1450_warning_message_fix
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 6fc6f5b0d..8fe8e546f 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; } |