summaryrefslogtreecommitdiff
path: root/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src
diff options
context:
space:
mode:
authorIgor Gapchuk (GitHub) <41586842+IGapchuk@users.noreply.github.com>2020-10-02 21:09:04 +0300
committerGitHub <noreply@github.com>2020-10-02 14:09:04 -0400
commitfd291d7654bdee02f329a62080e1831206f24edc (patch)
treea1c992b710106d028addea5c9c0fc3622a38cb89 /src/components/application_manager/rpc_plugins/rc_rpc_plugin/src
parent2f823394d9a7faa93a5bd5f4a1f266bd8f546b43 (diff)
downloadsdl_core-fd291d7654bdee02f329a62080e1831206f24edc.tar.gz
Fix GetInteriorVehicle request wrong processes result codes from HMI (#3519)
GetInteriorVehicle request RPC should process the next result codes as success: WRONG_LANGUAGE, RETRY, SAVED.
Diffstat (limited to 'src/components/application_manager/rpc_plugins/rc_rpc_plugin/src')
-rw-r--r--src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/mobile/get_interior_vehicle_data_request.cc5
1 files changed, 4 insertions, 1 deletions
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 2b801f7406..8d3a3d796e 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
@@ -245,7 +245,10 @@ void GetInteriorVehicleDataRequest::on_event(
helpers::Compare<mobile_apis::Result::eType, helpers::EQ, helpers::ONE>(
result_code,
mobile_apis::Result::SUCCESS,
- mobile_apis::Result::WARNINGS);
+ mobile_apis::Result::WARNINGS,
+ mobile_apis::Result::WRONG_LANGUAGE,
+ mobile_apis::Result::RETRY,
+ mobile_apis::Result::SAVED);
if (mobile_apis::Result::READ_ONLY == result_code) {
result = false;