From 6caf4f13f5c9b2d2071d8260a3e497d0558f8da5 Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Fri, 24 Apr 2020 12:48:01 +0900 Subject: [PATCH] e_policy_wl: broadcast to all tzsh service and client when new service is added There was a bug that the new service was added, then tzsh_service didn't notice it. We fixes this issue. Change-Id: Id6da4ec946a3c1daee3c08845b3c786b448fa16a --- src/bin/e_policy_wl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/e_policy_wl.c b/src/bin/e_policy_wl.c index b95b1b8770..7711599474 100644 --- a/src/bin/e_policy_wl.c +++ b/src/bin/e_policy_wl.c @@ -884,7 +884,8 @@ _e_policy_wl_tzsh_srv_state_broadcast(E_Policy_Wl_Tzsh_Srv *tzsh_srv, Eina_Bool EINA_LIST_FOREACH(polwl->tzshs, l, tzsh) { - if (tzsh->type == TZSH_TYPE_SRV) continue; + if (tzsh_srv->tzsh == tzsh) + continue; if (reg) tizen_ws_shell_send_service_register -- 2.34.1