summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/hmi/response_to_hmi.cc
diff options
context:
space:
mode:
authorAndrii Kalinich (GitHub) <AKalinich@luxoft.com>2018-05-21 14:48:04 +0300
committerGitHub <noreply@github.com>2018-05-21 14:48:04 +0300
commit1f3a2e49b0b0a6254ca6e8b003784b43bd1488d0 (patch)
tree73c3a081a39495647695dee0c6e926a7b38cec17 /src/components/application_manager/src/commands/hmi/response_to_hmi.cc
parent6212599da217e95899d63d4b33088082489841bd (diff)
parent44e583faf7cbd3f94fc644960bb71f1636aba4fa (diff)
downloadsdl_core-1f3a2e49b0b0a6254ca6e8b003784b43bd1488d0.tar.gz
Merge pull request #2198 from AKalinich-Luxoft/feature/help_promt_manager
Feature help promt manager
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/response_to_hmi.cc')
-rw-r--r--src/components/application_manager/src/commands/hmi/response_to_hmi.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/components/application_manager/src/commands/hmi/response_to_hmi.cc b/src/components/application_manager/src/commands/hmi/response_to_hmi.cc
index e6f64047ba..de1e1e0fde 100644
--- a/src/components/application_manager/src/commands/hmi/response_to_hmi.cc
+++ b/src/components/application_manager/src/commands/hmi/response_to_hmi.cc
@@ -39,15 +39,13 @@ namespace commands {
ResponseToHMI::ResponseToHMI(const MessageSharedPtr& message,
ApplicationManager& application_manager)
- : CommandImpl(message, application_manager) {
- // Replace Mobile connection id with HMI app id
- ReplaceMobileByHMIAppId(*(message.get()));
-}
+ : CommandImpl(message, application_manager) {}
ResponseToHMI::~ResponseToHMI() {}
bool ResponseToHMI::Init() {
- return true;
+ // Replace Mobile connection id with HMI app id
+ return ReplaceMobileWithHMIAppId(*message_);
}
bool ResponseToHMI::CleanUp() {