diff options
author | Herasym Oleh <oolleehh@gmail.com> | 2016-02-17 09:56:54 +0200 |
---|---|---|
committer | Herasym Oleh <oolleehh@gmail.com> | 2016-02-17 09:56:54 +0200 |
commit | ee2a599ca6a84c529edec397a8abcc195ab13b35 (patch) | |
tree | 22da718dbc2b4ee313e1014997d84d79d6a74e71 /src/components/application_manager/src/commands/mobile | |
parent | 2182e0a13b03778818a22f895aefabb38e588a64 (diff) | |
download | sdl_core-ee2a599ca6a84c529edec397a8abcc195ab13b35.tar.gz |
Add return info in ReadDID response
related:
APPLINK-14569
Diffstat (limited to 'src/components/application_manager/src/commands/mobile')
-rw-r--r-- | src/components/application_manager/src/commands/mobile/read_did_request.cc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/components/application_manager/src/commands/mobile/read_did_request.cc b/src/components/application_manager/src/commands/mobile/read_did_request.cc index 216e957d13..8ee06d0b7a 100644 --- a/src/components/application_manager/src/commands/mobile/read_did_request.cc +++ b/src/components/application_manager/src/commands/mobile/read_did_request.cc @@ -1,6 +1,5 @@ /* - - Copyright (c) 2013, Ford Motor Company + Copyright (c) 2016, Ford Motor Company All rights reserved. Redistribution and use in source and binary forms, with or without @@ -31,6 +30,7 @@ POSSIBILITY OF SUCH DAMAGE. */ +#include <string> #include "application_manager/commands/mobile/read_did_request.h" #include "application_manager/application_manager_impl.h" #include "application_manager/application_impl.h" @@ -101,7 +101,11 @@ void ReadDIDRequest::on_event(const event_engine::Event& event) { bool result = mobile_apis::Result::SUCCESS == result_code; - SendResponse(result, result_code, NULL, &(message[strings::msg_params])); + const std::string return_info = + message[strings::msg_params][hmi_response::message].asString(); + + SendResponse(result, result_code, return_info.c_str(), + &(message[strings::msg_params])); break; } default: { |