diff options
author | Scott Murray <scott.murray@konsulko.com> | 2023-05-12 14:54:37 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2023-05-12 14:55:51 -0400 |
commit | e32620e4d8fce3fb8baa606458ad7dc1bb3ed561 (patch) | |
tree | f5de4976b4ec2650e3a22ba726c7fb10e437fbb2 /app | |
parent | f923df9484ed34676dfcf022043f97d86a4bddfa (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.cpp | 4 |
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(); } |