summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2018-05-30 09:59:57 -0400
committerJoel Fischer <joeljfischer@gmail.com>2018-05-30 09:59:57 -0400
commit09a515657aa354dcc321354c0f0657da89bd273d (patch)
treefe3fa911d2045e7f38d7d273e3eb9159b20fb41b
parent513d31083fdc092edf863d69cf9d08990575479a (diff)
parent23aa69ed54daeb82a5d1f9cad8b27e4a1cd41e04 (diff)
downloadsdl_ios-09a515657aa354dcc321354c0f0657da89bd273d.tar.gz
Merge branch 'fix/issue-977' into develop
-rw-r--r--SmartDeviceLink/SDLLifecycleManager.m2
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];
}