diff options
author | Frank Elias <francois.elias@livio.io> | 2021-04-12 11:04:28 -0400 |
---|---|---|
committer | Frank Elias <francois.elias@livio.io> | 2021-04-12 11:04:28 -0400 |
commit | 4e624354d406b5e77327204eb47e49ee8f28aac8 (patch) | |
tree | 7b92be0bbb11b89cfa929a31e4b24464659477ef | |
parent | 047d827387c4108fe2b082642092d6bfa0a46a54 (diff) | |
download | sdl_ios-bugfix/issue-1967-example-app-menu-not-displayed-correctly-after-app-exit.tar.gz |
-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 } } |