summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/mobile/read_did_response.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/src/commands/mobile/read_did_response.cc')
-rw-r--r--src/components/application_manager/src/commands/mobile/read_did_response.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/application_manager/src/commands/mobile/read_did_response.cc b/src/components/application_manager/src/commands/mobile/read_did_response.cc
index 1133fe89ed..1637f3e9bc 100644
--- a/src/components/application_manager/src/commands/mobile/read_did_response.cc
+++ b/src/components/application_manager/src/commands/mobile/read_did_response.cc
@@ -32,14 +32,14 @@
*/
#include "application_manager/commands/mobile/read_did_response.h"
-#include "application_manager/application_manager_impl.h"
+
namespace application_manager {
namespace commands {
-ReadDIDResponse::ReadDIDResponse(const MessageSharedPtr& message)
- : CommandResponseImpl(message) {
+ReadDIDResponse::ReadDIDResponse(const MessageSharedPtr& message, ApplicationManager& application_manager)
+ : CommandResponseImpl(message, application_manager) {
}
ReadDIDResponse::~ReadDIDResponse() {
@@ -48,7 +48,7 @@ ReadDIDResponse::~ReadDIDResponse() {
void ReadDIDResponse::Run() {
LOG4CXX_AUTO_TRACE(logger_);
- ApplicationManagerImpl::instance()->SendMessageToMobile(message_);
+ application_manager_.SendMessageToMobile(message_);
}
} // namespace commands