diff options
author | dtrunov <dtrunov@luxoft.com> | 2016-10-04 17:44:06 +0300 |
---|---|---|
committer | dtrunov <dtrunov@luxoft.com> | 2016-10-04 17:44:06 +0300 |
commit | 333644a3993bede76609a306757d689164bd24b2 (patch) | |
tree | 5987892cca290ffe4b1e7a0556d4b140db9c99f7 /src/components/application_manager/src/commands/mobile/add_command_request.cc | |
parent | a2cb12e9de3eb64e590f650d2c45aee82cdfe349 (diff) | |
download | sdl_core-333644a3993bede76609a306757d689164bd24b2.tar.gz |
Fix comments after review
Add constructor to structure, and reorder parameter in method
Related issue [APPLINK-25088](https://adc.luxoft.com/jira/browse/APPLINK-25088)
Diffstat (limited to 'src/components/application_manager/src/commands/mobile/add_command_request.cc')
-rw-r--r-- | src/components/application_manager/src/commands/mobile/add_command_request.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/application_manager/src/commands/mobile/add_command_request.cc b/src/components/application_manager/src/commands/mobile/add_command_request.cc index bc211b44a4..9d46f67aee 100644 --- a/src/components/application_manager/src/commands/mobile/add_command_request.cc +++ b/src/components/application_manager/src/commands/mobile/add_command_request.cc @@ -315,7 +315,7 @@ void AddCommandRequest::on_event(const event_engine::Event& event) { is_ui_received_ = true; ui_result_ = static_cast<hmi_apis::Common_Result::eType>( message[strings::params][hmi_response::code].asInt()); - GetInfo(HmiInterfaces::HMI_INTERFACE_UI, ui_result_, ui_info_, message); + GetInfo(HmiInterfaces::HMI_INTERFACE_UI, ui_result_, message, ui_info_); if (hmi_apis::Common_Result::SUCCESS != ui_result_) { (*message_)[strings::msg_params].erase(strings::menu_params); } @@ -326,7 +326,7 @@ void AddCommandRequest::on_event(const event_engine::Event& event) { is_vr_received_ = true; vr_result_ = static_cast<hmi_apis::Common_Result::eType>( message[strings::params][hmi_response::code].asInt()); - GetInfo(HmiInterfaces::HMI_INTERFACE_VR, vr_result_, vr_info_, message); + GetInfo(HmiInterfaces::HMI_INTERFACE_VR, vr_result_, message, vr_info_); if (hmi_apis::Common_Result::SUCCESS != vr_result_) { (*message_)[strings::msg_params].erase(strings::vr_commands); } |