summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/hmi/response_to_hmi.cc
diff options
context:
space:
mode:
authorJackLivio <jack@livio.io>2018-02-02 17:30:25 -0500
committerGitHub <noreply@github.com>2018-02-02 17:30:25 -0500
commit14d1e87aa0e5b48bb2263a2b6899c474df9c185c (patch)
treed7ae8950ef85a9f95087fe29d8032471ae6e59c4 /src/components/application_manager/src/commands/hmi/response_to_hmi.cc
parent21dfde7e8b8e81055d74f9b15db7c19d2e5075ee (diff)
parentf628d402af6711ac6eb6c06887bba8b6cf82594a (diff)
downloadsdl_core-14d1e87aa0e5b48bb2263a2b6899c474df9c185c.tar.gz
Merge branch 'develop' into hotfix/dynamically_link_librarieshotfix/dynamically_link_libraries
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() {