diff options
-rw-r--r-- | Example Apps/Example ObjC/ProxyManager.m | 3 | ||||
-rw-r--r-- | Example Apps/Example Swift/ProxyManager.swift | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Example Apps/Example ObjC/ProxyManager.m b/Example Apps/Example ObjC/ProxyManager.m index 9cb17a9e0..06ab5dd02 100644 --- a/Example Apps/Example ObjC/ProxyManager.m +++ b/Example Apps/Example ObjC/ProxyManager.m @@ -261,7 +261,8 @@ NS_ASSUME_NONNULL_BEGIN } else if ([newLevel isEqualToEnum:SDLHMILevelBackground]) { // The SDL app is not in the foreground } else if ([newLevel isEqualToEnum:SDLHMILevelNone]) { - // The SDL app is not yet running + // The SDL app is not yet running or is terminated + self.firstHMILevel = SDLHMILevelNone; } } diff --git a/Example Apps/Example Swift/ProxyManager.swift b/Example Apps/Example Swift/ProxyManager.swift index e5e21c4a2..9cbee5d6b 100644 --- a/Example Apps/Example Swift/ProxyManager.swift +++ b/Example Apps/Example Swift/ProxyManager.swift @@ -178,7 +178,10 @@ extension ProxyManager: SDLManagerDelegate { subscribeButtonManager.subscribeToPresetButtons() case .limited: break // An active NAV or MEDIA SDL app is in the background case .background: break // The SDL app is not in the foreground - case .none: break // The SDL app is not yet running + case .none: + // The SDL app is not yet running or is terminated + firstHMILevelState = .none + break default: break } } |