diff options
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/on_event_changed_notification.cc')
-rw-r--r-- | src/components/application_manager/src/commands/hmi/on_event_changed_notification.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/application_manager/src/commands/hmi/on_event_changed_notification.cc b/src/components/application_manager/src/commands/hmi/on_event_changed_notification.cc index fe52759c46..02fe73bf4f 100644 --- a/src/components/application_manager/src/commands/hmi/on_event_changed_notification.cc +++ b/src/components/application_manager/src/commands/hmi/on_event_changed_notification.cc @@ -32,13 +32,14 @@ #include "application_manager/commands/hmi/on_event_changed_notification.h" + namespace application_manager { namespace commands { OnEventChangedNotification::OnEventChangedNotification( - const MessageSharedPtr& message) - : NotificationFromHMI(message) { + const MessageSharedPtr& message, ApplicationManager& application_manager) + : NotificationFromHMI(message, application_manager) { } OnEventChangedNotification::~OnEventChangedNotification() { @@ -48,7 +49,7 @@ void OnEventChangedNotification::Run() { LOG4CXX_AUTO_TRACE(logger_); event_engine::Event event(hmi_apis::FunctionID::BasicCommunication_OnEventChanged); event.set_smart_object(*message_); - event.raise(); + event.raise(application_manager_.event_dispatcher()); } } // namespace commands |