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