diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2018-05-30 09:59:57 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2018-05-30 09:59:57 -0400 |
commit | 09a515657aa354dcc321354c0f0657da89bd273d (patch) | |
tree | fe3fa911d2045e7f38d7d273e3eb9159b20fb41b | |
parent | 513d31083fdc092edf863d69cf9d08990575479a (diff) | |
parent | 23aa69ed54daeb82a5d1f9cad8b27e4a1cd41e04 (diff) | |
download | sdl_ios-09a515657aa354dcc321354c0f0657da89bd273d.tar.gz |
Merge branch 'fix/issue-977' into develop
-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 f82e6cc8b..0e1e8a5a5 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]; } |