summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIra Lytvynenko (GitHub) <ILytvynenko@luxoft.com>2018-05-30 11:49:27 +0300
committerIra Lytvynenko (GitHub) <ILytvynenko@luxoft.com>2018-06-26 13:47:20 +0300
commit0283a8516e66d72f34b4435db63ab92c6b3282a2 (patch)
tree8b00300c89a0e27f9c2fd4c218ea7ce94ecfca08
parent1781b398fafb0f4cff735475d3c016d3d1e1540c (diff)
downloadsdl_core-feature/rc_seat.tar.gz
Fix comments after reviewfeature/rc_seat
-rwxr-xr-xsrc/appMain/hmi_capabilities.json1
-rw-r--r--src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/get_interior_vehicle_data_request.cc1
-rw-r--r--src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/set_interior_vehicle_data_request.cc1
-rw-r--r--src/components/interfaces/MOBILE_API.xml3
4 files changed, 3 insertions, 3 deletions
diff --git a/src/appMain/hmi_capabilities.json b/src/appMain/hmi_capabilities.json
index 6154e37d92..4eedd6b17a 100755
--- a/src/appMain/hmi_capabilities.json
+++ b/src/appMain/hmi_capabilities.json
@@ -465,6 +465,7 @@
],
"seatControlCapabilities": [
{
+ "moduleName": "driver_seat",
"heatingEnabledAvailable" : true,
"coolingEnabledAvailable": true,
"heatingLevelAvailable": true,
diff --git a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/get_interior_vehicle_data_request.cc b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/get_interior_vehicle_data_request.cc
index aabc21ad31..06c44d2ff3 100644
--- a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/get_interior_vehicle_data_request.cc
+++ b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/get_interior_vehicle_data_request.cc
@@ -72,6 +72,7 @@ bool CheckIfModuleTypeExistInCapabilities(
if (param.first == module_type) {
if (rc_capabilities.keyExists(param.second)) {
is_module_type_valid = true;
+ break;
}
}
}
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 c3c3dde8a7..c275246cb9 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
@@ -202,6 +202,7 @@ bool isModuleTypeAndDataMatch(const std::string& module_type,
for (const auto& data : data_mapping) {
if (data.first == module_type) {
module_type_and_data_match = module_data.keyExists(data.second);
+ break;
}
}
return module_type_and_data_match;
diff --git a/src/components/interfaces/MOBILE_API.xml b/src/components/interfaces/MOBILE_API.xml
index 3c685a545b..54abb0e542 100644
--- a/src/components/interfaces/MOBILE_API.xml
+++ b/src/components/interfaces/MOBILE_API.xml
@@ -1267,9 +1267,6 @@
</element>
<element name="MOBILE_APP">
</element>
- <element name="RADIO_TUNER">
- <description>Radio may be on AM, FM or XM</description>
- </element>
</enum>
<enum name="WiperStatus">