diff options
author | AGaliuzov <AGaliuzov@luxoft.com> | 2016-01-26 12:50:41 +0200 |
---|---|---|
committer | AGaliuzov <AGaliuzov@luxoft.com> | 2016-01-26 12:50:41 +0200 |
commit | 4c6d8ca7eb84ae79aaee25baf8b9841d9fb326df (patch) | |
tree | 9afd9f294a876437d563d3eebc180151cc9f2423 | |
parent | 59661a9007559ac94672082c0bc9b1855ae79999 (diff) | |
parent | 41a2cdf7e913690cf41ed96190221db4365f207e (diff) | |
download | sdl_core-4c6d8ca7eb84ae79aaee25baf8b9841d9fb326df.tar.gz |
Merge pull request #354 from LuxoftSDL/hotfix/Fix_OnHMIStatusNotificationFromMobile_command_creation
Fix OnHMIStatusNotificationFromMobile command creation
-rw-r--r-- | src/components/application_manager/src/mobile_command_factory.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/application_manager/src/mobile_command_factory.cc b/src/components/application_manager/src/mobile_command_factory.cc index 5b22c6e37c..ff2d4fd49e 100644 --- a/src/components/application_manager/src/mobile_command_factory.cc +++ b/src/components/application_manager/src/mobile_command_factory.cc @@ -532,8 +532,9 @@ CommandSharedPtr MobileCommandFactory::CreateCommand( case mobile_apis::FunctionID::OnHMIStatusID: { if (origin == commands::Command::ORIGIN_MOBILE) { command = utils::MakeShared<commands::OnHMIStatusNotificationFromMobile>(message); + } else { + command = utils::MakeShared<commands::OnHMIStatusNotification>(message); } - command = utils::MakeShared<commands::OnHMIStatusNotification>(message); break; } case mobile_apis::FunctionID::OnKeyboardInputID: { |