e_policy_wl: do not send allowed_aux_hint event when delete the aux_hint 53/285953/1
authorJunseok Kim <juns.kim@samsung.com>
Thu, 22 Dec 2022 07:03:11 +0000 (16:03 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 23 Dec 2022 05:21:32 +0000 (14:21 +0900)
The event that "tizen_policy_allowed_aux_hint" means the aux hint allowed, not the request allowed.
But the allowed_aux_hint event sent when the aux_hint_del proceed.
It seems misuse of event and client can understand as the deleted aux hint still allowed.

For prevent misunderstanding and correct the mean of event, don't send allowed_aux_hint when delete the aux hint.

Change-Id: I0d7c5fba29963f0638bc9832b9ca1dd5f34edf45

src/bin/e_policy_wl.c

index 61a863ec88f441d86b300c83bd5566c407104385..615699a36e7151b50d023f9ae0fb79a527600bab 100644 (file)
@@ -2655,10 +2655,7 @@ _tzpol_iface_cb_aux_hint_del(struct wl_client *client EINA_UNUSED, struct wl_res
    ELOGF("TZPOL", "HINT_DEL |res_tzpol:%8p|id:%d, result:%d", ec, res_tzpol, id, res);
 
    if (res)
-     {
-        _e_policy_wl_aux_hint_apply(ec);
-        _e_policy_wl_allowed_aux_hint_send(res_tzpol, surf, id);
-     }
+     _e_policy_wl_aux_hint_apply(ec);
 }
 
 static void