diff options
-rw-r--r-- | SmartDeviceLink/SDLChoiceSetManager.m | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/SmartDeviceLink/SDLChoiceSetManager.m b/SmartDeviceLink/SDLChoiceSetManager.m index 2b7c597c3..a3f658b6c 100644 --- a/SmartDeviceLink/SDLChoiceSetManager.m +++ b/SmartDeviceLink/SDLChoiceSetManager.m @@ -160,7 +160,7 @@ UInt16 const ChoiceCellCancelIdMin = 1; #pragma mark - State Management - (void)didEnterStateShutdown { - _currentHMILevel = nil; + _currentHMILevel = SDLHMILevelNone; [self.transactionQueue cancelAllOperations]; self.transactionQueue = [self sdl_newTransactionQueue]; @@ -494,10 +494,7 @@ UInt16 const ChoiceCellCancelIdMin = 1; - (void)sdl_hmiStatusNotification:(SDLRPCNotificationNotification *)notification { // We can only present a choice set if we're in FULL SDLOnHMIStatus *hmiStatus = (SDLOnHMIStatus *)notification.notification; - - if (hmiStatus.windowID != nil && hmiStatus.windowID.integerValue != SDLPredefinedWindowsDefaultWindow) { - return; - } + if (hmiStatus.windowID != nil && hmiStatus.windowID.integerValue != SDLPredefinedWindowsDefaultWindow) { return; } self.currentHMILevel = hmiStatus.hmiLevel; |