diff options
Diffstat (limited to 'src/components/application_manager/src/commands/mobile/set_display_layout_response.cc')
-rw-r--r-- | src/components/application_manager/src/commands/mobile/set_display_layout_response.cc | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/components/application_manager/src/commands/mobile/set_display_layout_response.cc b/src/components/application_manager/src/commands/mobile/set_display_layout_response.cc index 3844b3bf05..b5e53803c8 100644 --- a/src/components/application_manager/src/commands/mobile/set_display_layout_response.cc +++ b/src/components/application_manager/src/commands/mobile/set_display_layout_response.cc @@ -33,25 +33,21 @@ #include "application_manager/commands/mobile/set_display_layout_response.h" #include "application_manager/application_impl.h" -#include "application_manager/application_manager_impl.h" namespace application_manager { namespace commands { SetDisplayLayoutResponse::SetDisplayLayoutResponse( - const MessageSharedPtr& message) - : CommandResponseImpl(message) { -} + const MessageSharedPtr& message, ApplicationManager& application_manager) + : CommandResponseImpl(message, application_manager) {} -SetDisplayLayoutResponse::~SetDisplayLayoutResponse() { -} +SetDisplayLayoutResponse::~SetDisplayLayoutResponse() {} void SetDisplayLayoutResponse::Run() { LOG4CXX_AUTO_TRACE(logger_); - ApplicationManagerImpl::instance()->SendMessageToMobile(message_); - + application_manager_.SendMessageToMobile(message_); } } // namespace commands |