summaryrefslogtreecommitdiff
path: root/src/components/application_manager
diff options
context:
space:
mode:
authordtrunov <dtrunov@luxoft.com>2016-06-07 15:19:42 +0300
committerdtrunov <dtrunov@luxoft.com>2016-06-09 12:57:03 +0300
commit06d6d92d9fe45b2caf042f7c3153eaf332b02319 (patch)
treee585751eefc4318ab7924be728d7be4c7372aa18 /src/components/application_manager
parentb8fc61c9d6845a56f392db5b171c604503ac4648 (diff)
downloadsdl_core-06d6d92d9fe45b2caf042f7c3153eaf332b02319.tar.gz
SDL does not resend appID and wayPointType in GetWayPoints rps to HMI
Add parameters in mobile command Closes bug [APPLINK-23766](https://adc.luxoft.com/jira/browse/APPLINK-23766)
Diffstat (limited to 'src/components/application_manager')
-rw-r--r--src/components/application_manager/src/commands/mobile/get_way_points_request.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/components/application_manager/src/commands/mobile/get_way_points_request.cc b/src/components/application_manager/src/commands/mobile/get_way_points_request.cc
index 596a8c4627..9baf747ee4 100644
--- a/src/components/application_manager/src/commands/mobile/get_way_points_request.cc
+++ b/src/components/application_manager/src/commands/mobile/get_way_points_request.cc
@@ -23,8 +23,14 @@ void GetWayPointsRequest::Run() {
SendResponse(false, mobile_apis::Result::APPLICATION_NOT_REGISTERED);
return;
}
-
- SendHMIRequest(hmi_apis::FunctionID::Navigation_GetWayPoints, NULL, true);
+ smart_objects::SmartObject msg_params =
+ smart_objects::SmartObject(smart_objects::SmartType_Map);
+
+ msg_params = (*message_)[strings::msg_params];
+ msg_params[strings::app_id] = app->app_id();
+ SendHMIRequest(hmi_apis::FunctionID::Navigation_GetWayPoints,
+ msg_params.empty() ? NULL : &msg_params,
+ true);
}
void GetWayPointsRequest::on_event(const event_engine::Event& event) {