summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/application_manager/rpc_plugins/vehicle_info_plugin/src/vehicle_info_pending_resumption_handler.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/application_manager/rpc_plugins/vehicle_info_plugin/src/vehicle_info_pending_resumption_handler.cc b/src/components/application_manager/rpc_plugins/vehicle_info_plugin/src/vehicle_info_pending_resumption_handler.cc
index faa7aa258e..34f5401bff 100644
--- a/src/components/application_manager/rpc_plugins/vehicle_info_plugin/src/vehicle_info_pending_resumption_handler.cc
+++ b/src/components/application_manager/rpc_plugins/vehicle_info_plugin/src/vehicle_info_pending_resumption_handler.cc
@@ -223,8 +223,7 @@ void VehicleInfoPendingResumptionHandler::HandleOnEvent(
custom_vehicle_data_manager_.CreateMobileMessageParams(converted_msg_params);
response_message[strings::msg_params] = converted_msg_params;
- if (converted_msg_params.enumerate().end() !=
- converted_msg_params.enumerate().find(strings::cluster_modes)) {
+ if (converted_msg_params.keyExists(strings::cluster_modes)) {
response_message[strings::msg_params][strings::cluster_mode_status] =
response_message[strings::msg_params][strings::cluster_modes];
response_message[strings::msg_params].erase(strings::cluster_modes);