diff options
Diffstat (limited to 'src/components/application_manager/src/resumption/resumption_data_processor.cc')
-rw-r--r-- | src/components/application_manager/src/resumption/resumption_data_processor.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/components/application_manager/src/resumption/resumption_data_processor.cc b/src/components/application_manager/src/resumption/resumption_data_processor.cc index 508c86ea94..7f73bc04f4 100644 --- a/src/components/application_manager/src/resumption/resumption_data_processor.cc +++ b/src/components/application_manager/src/resumption/resumption_data_processor.cc @@ -517,10 +517,12 @@ void ResumptionDataProcessor::AddWayPointsSubscription( if (true == subscribed_for_way_points_so.asBool()) { application_manager_.SubscribeAppForWayPoints(application); auto subscribe_waypoints_msg = - MessageHelper::CreateSubscribeWayPointsMessageToHMI( - application_manager_.GetNextHMICorrelationID()); - application_manager_.GetRPCService().ManageHMICommand( - subscribe_waypoints_msg); + MessageHelper::CreateMessageForHMI( + hmi_apis::FunctionID::Navigation_SubscribeWayPoints, + application_manager_.GetNextHMICorrelationID()); + (*subscribe_waypoints_msg)[strings::params][strings::message_type] = + hmi_apis::messageType::request; + ProcessHMIRequest(subscribe_waypoints_msg, true); } } |