diff options
-rw-r--r-- | SmartDeviceLink/SDLLifecycleManager.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLLifecycleManager.m b/SmartDeviceLink/SDLLifecycleManager.m index 58cc78e1e..13bfa04e2 100644 --- a/SmartDeviceLink/SDLLifecycleManager.m +++ b/SmartDeviceLink/SDLLifecycleManager.m @@ -669,6 +669,8 @@ SDLLifecycleState *const SDLLifecycleStateReady = @"Ready"; [self.lifecycleStateMachine transitionToState:SDLLifecycleStateStopped]; } else if ([self.lifecycleStateMachine isCurrentState:SDLLifecycleStateStopped]) { return; + } else if ([appUnregisteredNotification.reason isEqualToEnum:SDLAppInterfaceUnregisteredReasonAppUnauthorized]) { + [self.lifecycleStateMachine transitionToState:SDLLifecycleStateStopped]; } else { [self.lifecycleStateMachine transitionToState:SDLLifecycleStateReconnecting]; } |