summaryrefslogtreecommitdiffstats
path: root/navigation
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2023-05-16 20:19:47 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2023-05-16 20:19:47 +0000
commit1234b2771bc45a885df54a779dfb8a125f315f93 (patch)
tree3f849d1b3e615738003e4268883199e669cae316 /navigation
parentd2b9c43a0b129aca2319aa8487154fd14bd0eed1 (diff)
parent4e635f80863700f3a240742a55eb2396d98f286d (diff)
Merge "navigation: uppercase state in Navigation::broadcastStatus"
Diffstat (limited to 'navigation')
-rw-r--r--navigation/navigation.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/navigation/navigation.cpp b/navigation/navigation.cpp
index e33772a..cb9f6cd 100644
--- a/navigation/navigation.cpp
+++ b/navigation/navigation.cpp
@@ -87,7 +87,9 @@ void Navigation::broadcastStatus(QString state)
if (!(m_vs && m_connected))
return;
- m_vs->set("Vehicle.Cabin.Infotainment.Navigation.State", state);
+ // The signal states have been changed to all uppercase to match
+ // VSS 3.x expectations, enforce that.
+ m_vs->set("Vehicle.Cabin.Infotainment.Navigation.State", state.toUpper());
}
void Navigation::onConnected()