summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/hmi/on_vi_vehicle_data_notification.cc
diff options
context:
space:
mode:
authorJackLivio <jack@livio.io>2018-02-02 17:30:25 -0500
committerGitHub <noreply@github.com>2018-02-02 17:30:25 -0500
commit14d1e87aa0e5b48bb2263a2b6899c474df9c185c (patch)
treed7ae8950ef85a9f95087fe29d8032471ae6e59c4 /src/components/application_manager/src/commands/hmi/on_vi_vehicle_data_notification.cc
parent21dfde7e8b8e81055d74f9b15db7c19d2e5075ee (diff)
parentf628d402af6711ac6eb6c06887bba8b6cf82594a (diff)
downloadsdl_core-14d1e87aa0e5b48bb2263a2b6899c474df9c185c.tar.gz
Merge branch 'develop' into hotfix/dynamically_link_librarieshotfix/dynamically_link_libraries
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/on_vi_vehicle_data_notification.cc')
-rw-r--r--src/components/application_manager/src/commands/hmi/on_vi_vehicle_data_notification.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/application_manager/src/commands/hmi/on_vi_vehicle_data_notification.cc b/src/components/application_manager/src/commands/hmi/on_vi_vehicle_data_notification.cc
index 5383876714..bba7e2f3ff 100644
--- a/src/components/application_manager/src/commands/hmi/on_vi_vehicle_data_notification.cc
+++ b/src/components/application_manager/src/commands/hmi/on_vi_vehicle_data_notification.cc
@@ -53,8 +53,9 @@ void OnVIVehicleDataNotification::Run() {
const smart_objects::SmartObject& msg_params =
(*message_)[strings::msg_params];
if (msg_params.keyExists(strings::odometer)) {
- application_manager_.IviInfoUpdated(ODOMETER,
- msg_params[strings::odometer].asInt());
+ application_manager_.IviInfoUpdated(
+ mobile_apis::VehicleDataType::VEHICLEDATA_ODOMETER,
+ msg_params[strings::odometer].asInt());
}
SendNotificationToMobile(message_);