Revert "e_policy_wl: remove unused tzsh_service_call" 05/233005/2 accepted/tizen/unified/20200511.214702 submit/tizen/20200511.084646
authorJunSeok Kim <juns.kim@samsung.com>
Mon, 11 May 2020 08:02:27 +0000 (08:02 +0000)
committerDoyoun Kang <doyoun.kang@samsung.com>
Mon, 11 May 2020 08:21:10 +0000 (08:21 +0000)
This reverts commit d0250786269d22b100e757f01acdfa391f8f5856.

Reason for revert: build break

Change-Id: Ia17c5307978c6cec420813d03d8b19f565c503d5

src/bin/e_policy_wl.c

index 2112aa41a6e9d20cdac37748ffc3e4f3e426bac1..771159947454e63c6412962c3ea4f4b2fb8ff552 100644 (file)
@@ -22,6 +22,7 @@
 typedef enum _Tzsh_Srv_Role
 {
    TZSH_SRV_ROLE_UNKNOWN = -1,
+   TZSH_SRV_ROLE_CALL,
    TZSH_SRV_ROLE_VOLUME,
    TZSH_SRV_ROLE_QUICKPANEL_SYSTEM_DEFAULT,
    TZSH_SRV_ROLE_QUICKPANEL_CONTEXT_MENU,
@@ -748,7 +749,8 @@ _e_policy_wl_tzsh_srv_role_get(const char *name)
 {
    Tzsh_Srv_Role role = TZSH_SRV_ROLE_UNKNOWN;
 
-   if      (!e_util_strcmp(name, "volume"                   )) role = TZSH_SRV_ROLE_VOLUME;
+   if      (!e_util_strcmp(name, "call"                     )) role = TZSH_SRV_ROLE_CALL;
+   else if (!e_util_strcmp(name, "volume"                   )) role = TZSH_SRV_ROLE_VOLUME;
    else if (!e_util_strcmp(name, "quickpanel_system_default")) role = TZSH_SRV_ROLE_QUICKPANEL_SYSTEM_DEFAULT;
    else if (!e_util_strcmp(name, "quickpanel_context_menu"  )) role = TZSH_SRV_ROLE_QUICKPANEL_CONTEXT_MENU;
    else if (!e_util_strcmp(name, "lockscreen"               )) role = TZSH_SRV_ROLE_LOCKSCREEN;