e_policy: add hook for tizen_policy set_notification_level 31/200631/2
authorJuyeon Lee <juyeonne.lee@samsung.com>
Wed, 27 Feb 2019 11:10:18 +0000 (20:10 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Thu, 7 Mar 2019 06:49:34 +0000 (06:49 +0000)
notification window such as call window requires transition effect
even it is notification window(gear)

Change-Id: Ieee88221db831e900b1cb04b0616c1fff7f2c252

src/bin/e_policy.c
src/bin/e_policy.h
src/bin/e_policy_wl.c

index 6deb9bfe54d7b0d1be1afa6a0df80aa2f9550932..91818a8a86d166e4bb373b1ee23db322e77853c6 100644 (file)
@@ -40,6 +40,7 @@ static Eina_Inlist *_e_policy_hooks[] =
    [E_POLICY_HOOK_CLIENT_ACTIVE_REQ] = NULL,
    [E_POLICY_HOOK_CLIENT_RAISE_REQ] = NULL,
    [E_POLICY_HOOK_CLIENT_LOWER_REQ] = NULL,
+   [E_POLICY_HOOK_CLIENT_NOTILAYER_SET] = NULL,
 };
 
 static E_Policy_Client *_e_policy_client_add(E_Client *ec);
index d4d27df062fdc9988ff1c79320c783f21427c4fc..e6cba8594add8d284f6caa071522eb9498235503 100644 (file)
@@ -39,6 +39,7 @@ typedef enum _E_Policy_Hook_Point
    E_POLICY_HOOK_CLIENT_ACTIVE_REQ,
    E_POLICY_HOOK_CLIENT_RAISE_REQ,
    E_POLICY_HOOK_CLIENT_LOWER_REQ,
+   E_POLICY_HOOK_CLIENT_NOTILAYER_SET,
    E_POLICY_HOOK_LAST
 } E_Policy_Hook_Point;
 
index c425f3586f6bef2e1dadfc8b6bed80cb80328dcf..95f15297f190d7378e385f37af8fdaca4b38fb5d 100644 (file)
@@ -1864,6 +1864,8 @@ _tzpol_notilv_set(E_Client *ec, int lv)
         evas_object_layer_set(ec->frame, ly);
      }
 
+   e_policy_hook_call(E_POLICY_HOOK_CLIENT_NOTILAYER_SET, ec);
+
    ec->layer = ly;
 }