summaryrefslogtreecommitdiffstats
path: root/app
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-12 14:55:51 -0400
commite32620e4d8fce3fb8baa606458ad7dc1bb3ed561 (patch)
treef5de4976b4ec2650e3a22ba726c7fb10e437fbb2 /app
parentf923df9484ed34676dfcf022043f97d86a4bddfa (diff)
Update status signal states for VSS 3.1.1
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
Diffstat (limited to 'app')
-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();
}