summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/hmi/on_device_chosen_notification.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/src/commands/hmi/on_device_chosen_notification.cc')
-rw-r--r--src/components/application_manager/src/commands/hmi/on_device_chosen_notification.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/application_manager/src/commands/hmi/on_device_chosen_notification.cc b/src/components/application_manager/src/commands/hmi/on_device_chosen_notification.cc
index 5d73c7b80..441538bee 100644
--- a/src/components/application_manager/src/commands/hmi/on_device_chosen_notification.cc
+++ b/src/components/application_manager/src/commands/hmi/on_device_chosen_notification.cc
@@ -50,7 +50,7 @@ void OnDeviceChosenNotification::Run() {
if ((*message_)[strings::msg_params].keyExists(strings::device_info)) {
ApplicationManagerImpl::instance()->ConnectToDevice(
(*message_)[strings::msg_params][strings::device_info][strings::id]
- .asInt());
+ .asString());
}
}