summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/hmi/response_from_hmi.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/response_from_hmi.cc')
-rw-r--r--src/components/application_manager/src/commands/hmi/response_from_hmi.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/application_manager/src/commands/hmi/response_from_hmi.cc b/src/components/application_manager/src/commands/hmi/response_from_hmi.cc
index d6d5d95d07..6ec83debb0 100644
--- a/src/components/application_manager/src/commands/hmi/response_from_hmi.cc
+++ b/src/components/application_manager/src/commands/hmi/response_from_hmi.cc
@@ -31,7 +31,7 @@
*/
#include "application_manager/commands/hmi/response_from_hmi.h"
-
+#include "application_manager/rpc_service.h"
#include "smart_objects/smart_object.h"
namespace application_manager {
@@ -67,7 +67,7 @@ void ResponseFromHMI::SendResponseToMobile(
const MessageSharedPtr& message, ApplicationManager& application_manager) {
(*message)[strings::params][strings::message_type] = MessageType::kResponse;
- application_manager_.ManageMobileCommand(message, ORIGIN_SDL);
+ application_manager_.GetRPCService().ManageMobileCommand(message, ORIGIN_SDL);
}
void ResponseFromHMI::CreateHMIRequest(
@@ -95,7 +95,7 @@ void ResponseFromHMI::CreateHMIRequest(
request[strings::msg_params] = msg_params;
- if (!application_manager_.ManageHMICommand(result)) {
+ if (!application_manager_.GetRPCService().ManageHMICommand(result)) {
LOG4CXX_ERROR(logger_, "Unable to send request");
return;
}