summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIra Lytvynenko (GitHub) <ILytvynenko@luxoft.com>2018-07-02 12:53:44 +0300
committerIra Lytvynenko (GitHub) <ILytvynenko@luxoft.com>2018-07-16 16:37:44 +0300
commit092f0ae391f0b4e91f9003daad2e5cfd4ccb4955 (patch)
tree05abc173a1a09d153528bc9c9d3124bc6ca6daf7 /src
parent9150adbc1b7465d18c7ad880ce7fcd6e799a2c72 (diff)
downloadsdl_core-092f0ae391f0b4e91f9003daad2e5cfd4ccb4955.tar.gz
Fix OnRCStatus notification sending in case of PTU
Diffstat (limited to 'src')
-rw-r--r--src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/resource_allocation_manager_impl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/resource_allocation_manager_impl.cc b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/resource_allocation_manager_impl.cc
index 5c2d58c4d2..7bb553fc5d 100644
--- a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/resource_allocation_manager_impl.cc
+++ b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/resource_allocation_manager_impl.cc
@@ -174,6 +174,8 @@ void ResourceAllocationManagerImpl::ProcessApplicationPolicyUpdate() {
if (rc_extention) {
rc_extention->UnsubscribeFromInteriorVehicleData(*module);
}
+ }
+ if (!disallowed_modules.empty()) {
SendOnRCStatusNotifications(
NotificationTrigger::MODULE_ALLOCATION,
utils::SharedPtr<application_manager::Application>());