diff options
Diffstat (limited to 'src/components/application_manager/src/commands/mobile/dial_number_response.cc')
-rw-r--r-- | src/components/application_manager/src/commands/mobile/dial_number_response.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/components/application_manager/src/commands/mobile/dial_number_response.cc b/src/components/application_manager/src/commands/mobile/dial_number_response.cc index 1daab5a4e1..ae44597607 100644 --- a/src/components/application_manager/src/commands/mobile/dial_number_response.cc +++ b/src/components/application_manager/src/commands/mobile/dial_number_response.cc @@ -31,21 +31,23 @@ */ #include "application_manager/commands/mobile/dial_number_response.h" -#include "application_manager/application_manager_impl.h" + namespace application_manager { namespace commands { -DialNumberResponse::DialNumberResponse(const MessageSharedPtr& message) - : CommandResponseImpl(message) { +DialNumberResponse::DialNumberResponse(const MessageSharedPtr& message, ApplicationManager& application_manager) + : CommandResponseImpl(message, application_manager) { } DialNumberResponse::~DialNumberResponse() { } void DialNumberResponse::Run() { - ApplicationManagerImpl::instance()->SendMessageToMobile(message_); + LOG4CXX_AUTO_TRACE(logger_); + + application_manager_.SendMessageToMobile(message_); } } // namespace commands |