summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/hmi/response_to_hmi.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/response_to_hmi.cc')
-rw-r--r--src/components/application_manager/src/commands/hmi/response_to_hmi.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/application_manager/src/commands/hmi/response_to_hmi.cc b/src/components/application_manager/src/commands/hmi/response_to_hmi.cc
index de1e1e0fde..c662bd629c 100644
--- a/src/components/application_manager/src/commands/hmi/response_to_hmi.cc
+++ b/src/components/application_manager/src/commands/hmi/response_to_hmi.cc
@@ -32,6 +32,7 @@
#include "application_manager/commands/hmi/response_to_hmi.h"
#include "application_manager/application_manager.h"
+#include "application_manager/rpc_service.h"
namespace application_manager {
@@ -56,7 +57,7 @@ void ResponseToHMI::Run() {
(*message_)[strings::params][strings::protocol_type] = hmi_protocol_type_;
(*message_)[strings::params][strings::protocol_version] = protocol_version_;
- application_manager_.SendMessageToHMI(message_);
+ application_manager_.GetRPCService().SendMessageToHMI(message_);
}
} // namespace commands