From: saerome.kim Date: Thu, 1 Feb 2018 04:32:28 +0000 (+0900) Subject: demo: make 'send_data' functionality use MOT enabled devices list X-Git-Tag: submit/tizen/20190131.065036~127 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=96e9a0aa9c188811fbc4ef86bf0bfc46a7ff0d3d;p=platform%2Fcore%2Fapi%2Fmulti-device-group.git demo: make 'send_data' functionality use MOT enabled devices list Signed-off-by: saerome.kim --- diff --git a/capi/demo/comp-manager.c b/capi/demo/comp-manager.c index 77b3022..e9ec973 100644 --- a/capi/demo/comp-manager.c +++ b/capi/demo/comp-manager.c @@ -769,8 +769,8 @@ static int __send_data(int idx) char *address = NULL; companion_device_h device = NULL; - if (my_devices_list) { - device = g_list_nth_data(my_devices_list, idx - 1); + if (found_device_list) { + device = g_list_nth_data(found_device_list, idx - 1); if (NULL == device) { msgr("Find my device first"); return RET_FAILURE; @@ -800,7 +800,7 @@ static int __send_data(int idx) static int run_send_data(MManager *mm, struct menu_data *menu) { int idx = 0; - int count = g_list_length(my_devices_list); + int count = g_list_length(found_device_list); if (0 >= count ) { msgr("No Device"); @@ -821,7 +821,7 @@ static int run_send_data_all(MManager *mm, struct menu_data *menu) { int count = 0; - count = g_list_length(my_devices_list); + count = g_list_length(found_device_list); if (0 >= count ) { msgr("No Device"); diff --git a/mot-agent_1125_20180201110339.zip b/mot-agent_1125_20180201110339.zip new file mode 100644 index 0000000..c90ba89 Binary files /dev/null and b/mot-agent_1125_20180201110339.zip differ diff --git a/mot-agent_1133_20180131142433.zip b/mot-agent_1133_20180131142433.zip new file mode 100644 index 0000000..11d2d80 Binary files /dev/null and b/mot-agent_1133_20180131142433.zip differ diff --git a/mot-agent_1535_20180131112756.zip b/mot-agent_1535_20180131112756.zip new file mode 100644 index 0000000..565708b Binary files /dev/null and b/mot-agent_1535_20180131112756.zip differ diff --git a/mot-agent_4122_20180201111912.zip b/mot-agent_4122_20180201111912.zip new file mode 100644 index 0000000..6a7df25 Binary files /dev/null and b/mot-agent_4122_20180201111912.zip differ