summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/mobile/show_constant_tbt_response.cc
diff options
context:
space:
mode:
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.cc13
1 files changed, 6 insertions, 7 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..80a36129cf 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,17 +40,16 @@ namespace application_manager {
namespace commands {
ShowConstantTBTResponse::ShowConstantTBTResponse(
- const MessageSharedPtr& message)
- : CommandResponseImpl(message) {
-}
+ const MessageSharedPtr& message, ApplicationManager& application_manager)
-ShowConstantTBTResponse::~ShowConstantTBTResponse() {
-}
+ : CommandResponseImpl(message, application_manager) {}
+
+ShowConstantTBTResponse::~ShowConstantTBTResponse() {}
void ShowConstantTBTResponse::Run() {
LOG4CXX_AUTO_TRACE(logger_);
- ApplicationManagerImpl::instance()->SendMessageToMobile(message_);
+ application_manager_.SendMessageToMobile(message_);
}
} // namespace commands