diff options
Diffstat (limited to 'src/components/application_manager/src/commands/mobile/send_location_response.cc')
-rw-r--r-- | src/components/application_manager/src/commands/mobile/send_location_response.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/application_manager/src/commands/mobile/send_location_response.cc b/src/components/application_manager/src/commands/mobile/send_location_response.cc index 32756c999d..756dfc16db 100644 --- a/src/components/application_manager/src/commands/mobile/send_location_response.cc +++ b/src/components/application_manager/src/commands/mobile/send_location_response.cc @@ -32,7 +32,7 @@ */ #include "application_manager/commands/mobile/send_location_response.h" -#include "application_manager/application_manager_impl.h" + #include "application_manager/application_impl.h" #include "interfaces/HMI_API.h" @@ -40,8 +40,8 @@ namespace application_manager { namespace commands { -SendLocationResponse::SendLocationResponse(const MessageSharedPtr& message) - : CommandResponseImpl(message) { +SendLocationResponse::SendLocationResponse(const MessageSharedPtr& message, ApplicationManager& application_manager) + : CommandResponseImpl(message, application_manager) { } SendLocationResponse::~SendLocationResponse() { @@ -50,7 +50,7 @@ SendLocationResponse::~SendLocationResponse() { void SendLocationResponse::Run() { LOG4CXX_AUTO_TRACE(logger_); - ApplicationManagerImpl::instance()->SendMessageToMobile(message_); + application_manager_.SendMessageToMobile(message_); } } // namespace commands |