diff options
author | Frank Elias <francois.elias@livio.io> | 2020-11-19 15:15:15 -0500 |
---|---|---|
committer | Frank Elias <francois.elias@livio.io> | 2020-11-19 15:15:15 -0500 |
commit | 9de3fee5b73a8ea7b66fb10f18a24d75bc98f2a6 (patch) | |
tree | f148949c0ff7e07e8b8661238ec65cb91be2f938 /Example Apps/Example Swift | |
parent | 1c2a043b620ff16e7ca84bd7e51f325bf10e8603 (diff) | |
download | sdl_ios-9de3fee5b73a8ea7b66fb10f18a24d75bc98f2a6.tar.gz |
Keep the same template on HMI level changes
Diffstat (limited to 'Example Apps/Example Swift')
-rw-r--r-- | Example Apps/Example Swift/ProxyManager.swift | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Example Apps/Example Swift/ProxyManager.swift b/Example Apps/Example Swift/ProxyManager.swift index bce2617ad..1e68f9f32 100644 --- a/Example Apps/Example Swift/ProxyManager.swift +++ b/Example Apps/Example Swift/ProxyManager.swift @@ -171,12 +171,14 @@ extension ProxyManager: SDLManagerDelegate { // Subscribe to vehicle data. vehicleDataManager.subscribeToVehicleOdometer() + + //Handle initial launch + showInitialData() } switch newLevel { case .full: // The SDL app is in the foreground. Always try to show the initial state to guard against some possible weird states. Duplicates will be ignored by Core. - showInitialData() 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 |