diff options
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/notification_to_hmi.cc')
-rw-r--r-- | src/components/application_manager/src/commands/hmi/notification_to_hmi.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/components/application_manager/src/commands/hmi/notification_to_hmi.cc b/src/components/application_manager/src/commands/hmi/notification_to_hmi.cc index b6639c9aea..c136f7b770 100644 --- a/src/components/application_manager/src/commands/hmi/notification_to_hmi.cc +++ b/src/components/application_manager/src/commands/hmi/notification_to_hmi.cc @@ -39,12 +39,15 @@ namespace commands { NotificationToHMI::NotificationToHMI(const MessageSharedPtr& message, ApplicationManager& application_manager) - : CommandImpl(message, application_manager) {} + : CommandImpl(message, application_manager) { + // Replace Mobile connection id with HMI app id + ReplaceMobileByHMIAppId(*message_); +} NotificationToHMI::~NotificationToHMI() {} bool NotificationToHMI::Init() { - return ReplaceMobileWithHMIAppId(*message_); + return true; } bool NotificationToHMI::CleanUp() { |