summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander <akutsan@luxoft.com>2018-06-29 18:09:33 +0300
committerIra Lytvynenko (GitHub) <ILytvynenko@luxoft.com>2018-07-16 16:37:44 +0300
commit9150adbc1b7465d18c7ad880ce7fcd6e799a2c72 (patch)
tree92c2220a00a38185113454635a765aa12bc4720e
parentca54bd15e1c4523bddcdc922f1857b3a03f01bd7 (diff)
downloadsdl_core-9150adbc1b7465d18c7ad880ce7fcd6e799a2c72.tar.gz
Reset allocation before sending notification fo HMI
-rw-r--r--src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/hmi/rc_on_remote_control_settings_notification.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/hmi/rc_on_remote_control_settings_notification.cc b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/hmi/rc_on_remote_control_settings_notification.cc
index dda59ea296..ca96b1cf97 100644
--- a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/hmi/rc_on_remote_control_settings_notification.cc
+++ b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/hmi/rc_on_remote_control_settings_notification.cc
@@ -150,8 +150,8 @@ void RCOnRemoteControlSettingsNotification::Run() {
} else {
LOG4CXX_DEBUG(logger_, "Disallowing RC Functionality");
DisallowRCFunctionality();
- resource_allocation_manager_.set_rc_enabled(false);
resource_allocation_manager_.ResetAllAllocations();
+ resource_allocation_manager_.set_rc_enabled(false);
}
}