From 79f878c30f0b6ef57ddcde2cb1890d2489cb392c Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Fri, 12 May 2023 14:54:37 -0400 Subject: 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 Change-Id: Iaf7c6d3fea190bce2f95e6af60f65bd47f2ad051 (cherry picked from commit e32620e4d8fce3fb8baa606458ad7dc1bb3ed561) --- app/navigation_client.cpp | 4 ++-- 1 file 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(); } -- cgit 1.2.3-korg