diff options
author | Kozoriz <kozorizandriy@gmail.com> | 2016-03-23 18:11:23 +0200 |
---|---|---|
committer | Kozoriz <kozorizandriy@gmail.com> | 2016-03-31 17:53:40 +0300 |
commit | 6ea5575d26688af2b787fcee39bb75b32342daff (patch) | |
tree | a560ef9f66431ee6b19499e8c1484a9809406f3d /src/components/application_manager/src/commands/hmi/on_device_state_changed_notification.cc | |
parent | 9712f7b229481b3533d0a4d81f39cb3da71f5862 (diff) | |
download | sdl_core-6ea5575d26688af2b787fcee39bb75b32342daff.tar.gz |
ApplicationManager correctives
Correctives in application manager component
after removing LastState, PolicyHandler, MEdiaManager singletons
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/on_device_state_changed_notification.cc')
-rw-r--r-- | src/components/application_manager/src/commands/hmi/on_device_state_changed_notification.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/application_manager/src/commands/hmi/on_device_state_changed_notification.cc b/src/components/application_manager/src/commands/hmi/on_device_state_changed_notification.cc index a1d8d753e7..66e20151d1 100644 --- a/src/components/application_manager/src/commands/hmi/on_device_state_changed_notification.cc +++ b/src/components/application_manager/src/commands/hmi/on_device_state_changed_notification.cc @@ -32,7 +32,7 @@ #include <algorithm> #include "application_manager/commands/hmi/on_device_state_changed_notification.h" -#include "application_manager/policies/policy_handler.h" +#include "application_manager/application_manager_impl.h" #include "application_manager/message_helper.h" #include "interfaces/HMI_API.h" #include "encryption/hashing.h" @@ -106,7 +106,7 @@ void OnDeviceStateChangedNotification::Run() { device_id = encryption::MakeHash(bt_mac); LOG4CXX_DEBUG(logger_, "Device_id hashed as BT MAC : " << device_id); } - policy::PolicyHandler::instance()->RemoveDevice(device_id); + application_manager::ApplicationManagerImpl::instance()->GetPolicyHandler().RemoveDevice(device_id); } } |