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.cc9
1 files changed, 5 insertions, 4 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 72f6767e8..85994ad80 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
@@ -1,4 +1,4 @@
-/**
+/*
* Copyright (c) 2013, Ford Motor Company
* All rights reserved.
*
@@ -46,10 +46,11 @@ OnVRStartedNotification::~OnVRStartedNotification() {
}
void OnVRStartedNotification::Run() {
- LOG4CXX_INFO(logger_, "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