diff options
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/on_app_registered_notification.cc')
-rw-r--r-- | src/components/application_manager/src/commands/hmi/on_app_registered_notification.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/application_manager/src/commands/hmi/on_app_registered_notification.cc b/src/components/application_manager/src/commands/hmi/on_app_registered_notification.cc index af3f45fed0..944917d90b 100644 --- a/src/components/application_manager/src/commands/hmi/on_app_registered_notification.cc +++ b/src/components/application_manager/src/commands/hmi/on_app_registered_notification.cc @@ -31,14 +31,14 @@ */ #include "application_manager/commands/hmi/on_app_registered_notification.h" -#include "application_manager/application_manager_impl.h" + namespace application_manager { namespace commands { OnAppRegisteredNotification::OnAppRegisteredNotification( - const MessageSharedPtr& message) : NotificationToHMI(message) { + const MessageSharedPtr& message, ApplicationManager& application_manager) : NotificationToHMI(message, application_manager) { } OnAppRegisteredNotification::~OnAppRegisteredNotification() { @@ -51,7 +51,7 @@ void OnAppRegisteredNotification::Run() { SendNotification(); event_engine::Event event(hmi_apis::FunctionID::BasicCommunication_OnAppRegistered); event.set_smart_object(*message_); - event.raise(); + event.raise(application_manager_.event_dispatcher()); } } // namespace commands |