diff options
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/on_ui_reset_timeout_notification.cc')
-rw-r--r-- | src/components/application_manager/src/commands/hmi/on_ui_reset_timeout_notification.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/components/application_manager/src/commands/hmi/on_ui_reset_timeout_notification.cc b/src/components/application_manager/src/commands/hmi/on_ui_reset_timeout_notification.cc index 96f65839c1..a5fea7bf8d 100644 --- a/src/components/application_manager/src/commands/hmi/on_ui_reset_timeout_notification.cc +++ b/src/components/application_manager/src/commands/hmi/on_ui_reset_timeout_notification.cc @@ -41,18 +41,17 @@ namespace commands { namespace hmi { OnUIResetTimeoutNotification::OnUIResetTimeoutNotification( - const MessageSharedPtr& message) : NotificationFromHMI(message) { -} + const MessageSharedPtr& message, ApplicationManager& application_manager) + : NotificationFromHMI(message, application_manager) {} -OnUIResetTimeoutNotification::~OnUIResetTimeoutNotification() { -} +OnUIResetTimeoutNotification::~OnUIResetTimeoutNotification() {} void OnUIResetTimeoutNotification::Run() { LOG4CXX_AUTO_TRACE(logger_); event_engine::Event event(hmi_apis::FunctionID::UI_OnResetTimeout); event.set_smart_object(*message_); - event.raise(); + event.raise(application_manager_.event_dispatcher()); } } // namespace hmi @@ -60,4 +59,3 @@ void OnUIResetTimeoutNotification::Run() { } // namespace commands } // namespace application_manager - |