summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlapinskijw <jlapinski.dev@gmail.com>2020-02-28 14:44:12 -0500
committerlapinskijw <jlapinski.dev@gmail.com>2020-02-28 14:44:12 -0500
commit9899d60a26d8bea61a76fa434fdc8a3539fc5b2c (patch)
treec80132fd05926cf09873d58b5c1bdc090c331275
parente012a547fb54da56baef5ea309eb35743b3875d1 (diff)
downloadsdl_ios-bugfix/issue-1554-swift-example-app-hmilevel.tar.gz
removed code from swift example that checks for first time hmiLevel is fullbugfix/issue-1554-swift-example-app-hmilevel
-rw-r--r--Example Apps/Example Swift/ProxyManager.swift5
1 files changed, 0 insertions, 5 deletions
diff --git a/Example Apps/Example Swift/ProxyManager.swift b/Example Apps/Example Swift/ProxyManager.swift
index ac3913955..7d4d58dbd 100644
--- a/Example Apps/Example Swift/ProxyManager.swift
+++ b/Example Apps/Example Swift/ProxyManager.swift
@@ -173,11 +173,6 @@ extension ProxyManager: SDLManagerDelegate {
vehicleDataManager.subscribeToVehicleOdometer()
}
- if newLevel == .full && firstHMILevelState != .full {
- // This is our first time in a `FULL` state.
- firstHMILevelState = newLevel
- }
-
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.