summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjacobkeeler <jacob.keeler@livioradio.com>2019-05-29 13:10:39 -0400
committerjacobkeeler <jacob.keeler@livioradio.com>2019-05-29 13:15:52 -0400
commitb23276a4f5802a3038f4e56dffb9b5c0e1c0a644 (patch)
tree96a85c47597553033eed00ae2b10c916fa48f6b9
parentf1e176c4ff823952f6592fbceb29f1e63c5475ef (diff)
downloadsdl_core-hotfix/service_data_image_paths.tar.gz
Fix incorrect call in SendNotificationToConsumershotfix/service_data_image_paths
-rw-r--r--src/components/application_manager/src/commands/command_notification_from_mobile_impl.cc2
-rw-r--r--src/components/application_manager/src/commands/notification_from_hmi.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/application_manager/src/commands/command_notification_from_mobile_impl.cc b/src/components/application_manager/src/commands/command_notification_from_mobile_impl.cc
index f9b084323a..26b43856f7 100644
--- a/src/components/application_manager/src/commands/command_notification_from_mobile_impl.cc
+++ b/src/components/application_manager/src/commands/command_notification_from_mobile_impl.cc
@@ -90,7 +90,7 @@ void CommandNotificationFromMobileImpl::SendNotificationToHMI(
const hmi_apis::FunctionID::eType& hmi_function_id) {
(*message_)[strings::params][strings::protocol_type] = hmi_protocol_type_;
(*message_)[strings::params][strings::function_id] = hmi_function_id;
- rpc_service_.SendMessageToHMI(message_);
+ rpc_service_.ManageHMICommand(message_, SOURCE_SDL_TO_HMI);
}
void CommandNotificationFromMobileImpl::SendNotificationToConsumers(
diff --git a/src/components/application_manager/src/commands/notification_from_hmi.cc b/src/components/application_manager/src/commands/notification_from_hmi.cc
index b6bb8d4e3c..5e1314bad3 100644
--- a/src/components/application_manager/src/commands/notification_from_hmi.cc
+++ b/src/components/application_manager/src/commands/notification_from_hmi.cc
@@ -84,7 +84,7 @@ void NotificationFromHMI::SendNotificationToMobile(
void NotificationFromHMI::SendNotificationToHMI(MessageSharedPtr& message) {
(*message)[strings::params][strings::protocol_type] = hmi_protocol_type_;
- rpc_service_.SendMessageToHMI(message);
+ rpc_service_.ManageHMICommand(message, SOURCE_SDL_TO_HMI);
}
void NotificationFromHMI::CreateHMIRequest(