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