summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander <akutsan@luxoft.com>2018-08-17 16:20:21 +0300
committerAlexander <akutsan@luxoft.com>2018-08-17 16:20:21 +0300
commit296954bf398de124530b882dc693fd7618a78bd8 (patch)
treed9fa8f0b716f81623e491115f8332fd1a0bdb3fd
parent80b868ed6d1b0c7b488729c8c1ddafe04614fbea (diff)
downloadsdl_core-feature/rc_new_modules.tar.gz
Ignore id parameter fo radio controll data. Id parameter should not be checked by capabilitiesfeature/rc_new_modules
-rw-r--r--src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/set_interior_vehicle_data_request.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/set_interior_vehicle_data_request.cc b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/set_interior_vehicle_data_request.cc
index 0da1e4c6e7..f561cba6ff 100644
--- a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/set_interior_vehicle_data_request.cc
+++ b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/set_interior_vehicle_data_request.cc
@@ -227,6 +227,9 @@ bool CheckControlDataByCapabilities(
auto it = control_data.map_begin();
for (; it != control_data.map_end(); ++it) {
const std::string& request_parameter = it->first;
+ if (message_params::kId == request_parameter) {
+ continue;
+ }
if (message_params::kLightState == request_parameter) {
auto light_data = control_data[request_parameter].asArray()->begin();
for (; light_data != control_data[request_parameter].asArray()->end();