aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2023-05-12 14:54:37 -0400
committerScott Murray <scott.murray@konsulko.com>2023-05-29 12:31:26 +0000
commit79f878c30f0b6ef57ddcde2cb1890d2489cb392c (patch)
treea0d57f203d4c89182d8d67efba504e8b99884cbb
parent36152c976d441f930579ac1caf7bdc7b9ad3f4bc (diff)
Update status signal states for VSS 3.1.1octopus
The states for Vehicle.Cabin.Infotainment.Navigation.State are now uppercase with the update to VSS 3.1.1, update use of the Navigation API from libqtappfw to match. Bug-AGL: SPEC-4761 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iaf7c6d3fea190bce2f95e6af60f65bd47f2ad051 (cherry picked from commit e32620e4d8fce3fb8baa606458ad7dc1bb3ed561)
-rw-r--r--app/navigation_client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/navigation_client.cpp b/app/navigation_client.cpp
index a8682da..9195702 100644
--- a/app/navigation_client.cpp
+++ b/app/navigation_client.cpp
@@ -31,10 +31,10 @@ void navigation_client::onStatusEvent(QVariantMap data)
QString state = data["state"].toString();
- if (state == "Arrived")
+ if (state == "ARRIVED")
emit arrivedestQml();
- if (state == "Stopped")
+ if (state == "STOPPED")
emit stopdemoQml();
}