summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/hmi/on_vr_started_notification.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/on_vr_started_notification.cc')
-rw-r--r--src/components/application_manager/src/commands/hmi/on_vr_started_notification.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/application_manager/src/commands/hmi/on_vr_started_notification.cc b/src/components/application_manager/src/commands/hmi/on_vr_started_notification.cc
index 8ab63ca61e..85994ad80e 100644
--- a/src/components/application_manager/src/commands/hmi/on_vr_started_notification.cc
+++ b/src/components/application_manager/src/commands/hmi/on_vr_started_notification.cc
@@ -48,8 +48,9 @@ OnVRStartedNotification::~OnVRStartedNotification() {
void OnVRStartedNotification::Run() {
LOG4CXX_AUTO_TRACE(logger_);
- ApplicationManagerImpl::instance()->set_vr_session_started(true);
- //ApplicationManagerImpl::instance()->Mute(kVRSessionChanging);
+ event_engine::Event event(hmi_apis::FunctionID::VR_Started);
+ event.set_smart_object(*message_);
+ event.raise();
}
} // namespace commands