diff options
author | Aleksandr Galiuzov <AGaliuzov@luxoft.com> | 2015-06-15 12:44:27 +0300 |
---|---|---|
committer | Aleksandr Galiuzov <AGaliuzov@luxoft.com> | 2015-06-15 12:44:27 +0300 |
commit | e2df2fae923d3919ada027810bd557e8dc82c5da (patch) | |
tree | 030219f2a2b3f66edc4c79d9f79eca50fd09ca0d | |
parent | 5a43356ce55fd2ebf125eaebd1db9ae141b5e855 (diff) | |
parent | 7706a3e7efd74ad8bdcdf8ef7c77da5e76abb6f7 (diff) | |
download | smartdevicelink-e2df2fae923d3919ada027810bd557e8dc82c5da.tar.gz |
Merge branch 'hotfix/fix-build' into release/4.0.0
-rw-r--r-- | src/components/application_manager/src/message_helper.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/components/application_manager/src/message_helper.cc b/src/components/application_manager/src/message_helper.cc index 5f5cb3ebb..99dc7bf56 100644 --- a/src/components/application_manager/src/message_helper.cc +++ b/src/components/application_manager/src/message_helper.cc @@ -1308,6 +1308,15 @@ bool MessageHelper::CreateHMIApplicationStruct(ApplicationConstSharedPtr app, const connection_handler::DeviceHandle handle = app->device(); std::string device_name = ApplicationManagerImpl::instance()->GetDeviceName(handle); + std::string mac_address; + std::string transport_type; + if (-1 == connection_handler::ConnectionHandlerImpl::instance()-> + GetDataOnDeviceID(app->device(), &device_name, + NULL, &mac_address, &transport_type)) { + LOG4CXX_ERROR(logger_, "Failed to extract information for device " + << app->device()); + } + output = SmartObject(SmartType_Map); output[strings::app_name] = app->name(); output[strings::icon] = app->app_icon_path(); |