diff options
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.cc | 7 |
1 files changed, 7 insertions, 0 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 5f8109ccab..5383876714 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 @@ -50,6 +50,13 @@ void OnVIVehicleDataNotification::Run() { (*message_)[strings::params][strings::function_id] = static_cast<int32_t>(mobile_apis::FunctionID::eType::OnVehicleDataID); + 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()); + } + SendNotificationToMobile(message_); } |