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