Add service state changing in vcd_send_result 36/222436/1 submit/tizen/20200115.024100
authorsooyeon.kim <sooyeon.kim@samsung.com>
Mon, 11 Feb 2019 01:00:17 +0000 (10:00 +0900)
committerWonnam Jang <wn.jang@samsung.com>
Wed, 15 Jan 2020 02:37:55 +0000 (02:37 +0000)
Change-Id: I727f963f043bc4f518bad07bc1d0b7f0f6e03ec6
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
server/vcd_server.c

index 7385ffb8e0576dbdb00754238387652a626e1e87..b1d5717a73a96146575d25de844a1f247f5a56ac 100644 (file)
@@ -762,6 +762,10 @@ int vcd_send_result(vce_result_event_e event, int* result_id, int count, const c
                                }
                        }
 
+                       /* set service state ready */
+                       vcd_config_set_service_state(VCD_STATE_READY);
+                       vcdc_send_service_state(VCD_STATE_READY);
+
                        vcd_client_manager_set_exclusive(false);
                        vc_cmd_list_destroy(vc_cmd_list, true);
                        vc_cmd_list = NULL;