diff options
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/ui_set_global_properties_response.cc')
-rw-r--r-- | src/components/application_manager/src/commands/hmi/ui_set_global_properties_response.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/components/application_manager/src/commands/hmi/ui_set_global_properties_response.cc b/src/components/application_manager/src/commands/hmi/ui_set_global_properties_response.cc index 23173961fb..d10c206a7c 100644 --- a/src/components/application_manager/src/commands/hmi/ui_set_global_properties_response.cc +++ b/src/components/application_manager/src/commands/hmi/ui_set_global_properties_response.cc @@ -38,19 +38,17 @@ namespace application_manager { namespace commands { UISetGlobalPropertiesResponse::UISetGlobalPropertiesResponse( - const MessageSharedPtr& message) - : ResponseFromHMI(message) { -} + const MessageSharedPtr& message, ApplicationManager& application_manager) + : ResponseFromHMI(message, application_manager) {} -UISetGlobalPropertiesResponse::~UISetGlobalPropertiesResponse() { -} +UISetGlobalPropertiesResponse::~UISetGlobalPropertiesResponse() {} void UISetGlobalPropertiesResponse::Run() { LOG4CXX_AUTO_TRACE(logger_); event_engine::Event event(hmi_apis::FunctionID::UI_SetGlobalProperties); event.set_smart_object(*message_); - event.raise(); + event.raise(application_manager_.event_dispatcher()); } } // namespace commands |