From 16de50a53d584c8d4a037e4598fbacad217af510 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Wed, 11 Oct 2017 08:04:20 +0900 Subject: [PATCH] Fix window priority Syspopup window priority: - 0: EFL_UTIL_NOTIFICATION_LEVEL_DEFAULT - 1: EFL_UTIL_NOTIFICATION_LEVEL_MEDIUM - 2: EFL_UTIL_NOTIFICATION_LEVEL_HIGH - 3: EFL_UTIL_NOTIFICATION_LEVEL_TOP Change-Id: I3b2694e22b9b9fbf475abc241d18d60f849f03a6 Signed-off-by: Hwankyu Jhun --- syspopup/syspopup_wayland.c | 2 ++ tool/sp_initdb.c | 16 ++++++++-------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/syspopup/syspopup_wayland.c b/syspopup/syspopup_wayland.c index 7ca428c..d06f795 100644 --- a/syspopup/syspopup_wayland.c +++ b/syspopup/syspopup_wayland.c @@ -84,6 +84,8 @@ static efl_util_notification_level_e __wl_syspopup_get_notification_level(int pr case 1: return EFL_UTIL_NOTIFICATION_LEVEL_MEDIUM; case 2: + return EFL_UTIL_NOTIFICATION_LEVEL_HIGH; + case 3: return EFL_UTIL_NOTIFICATION_LEVEL_TOP; default: return EFL_UTIL_NOTIFICATION_LEVEL_DEFAULT; diff --git a/tool/sp_initdb.c b/tool/sp_initdb.c index 7f1fbc2..fc0f1f6 100755 --- a/tool/sp_initdb.c +++ b/tool/sp_initdb.c @@ -64,8 +64,8 @@ static struct syspopup_info default_info[] = { {"volume", 1, 1, -1, 1, 1, "org.tizen.volume"}, {"bt-syspopup", 0, 0, -1, 0, 0, "org.tizen.bt-syspopup"}, {"wifi-qs", 0, 0, -1, 0, 2, "net.wifi-qs"}, - {"powerkey-syspopup", 2, 0, -1, 0, 0, "org.tizen.powerkey-syspopup"}, - {"overheat-syspopup", 2, 0, -1, 0, 0, "org.tizen.overheat-syspopup"}, + {"powerkey-syspopup", 3, 0, -1, 0, 0, "org.tizen.powerkey-syspopup"}, + {"overheat-syspopup", 3, 0, -1, 0, 0, "org.tizen.overheat-syspopup"}, {"lowmem-syspopup", 0, 0, 5, 0, 0, "org.tizen.lowmem-syspopup"}, {"battery-syspopup", 0, 0, 5, 0, 0, "org.tizen.battery-syspopup"}, {"net-popup", 0, 0, -1, 0, 0, "net.netpopup"}, @@ -80,21 +80,21 @@ static struct syspopup_info default_info[] = { {"crash-syspopup", 1, 0, -1, 0, 0, "org.tizen.crash-syspopup"}, {"gps-syspopup", 0, 0, -1, 0, 0, "org.tizen.gps-syspopup"}, {"mode-syspopup", 1, 0, -1, 0, 0, "org.tizen.mode-syspopup"}, - {"d2d-conv-syspopup", 2, 0, -1, 0, 0, "org.tizen.d2d-conv-syspopup"}, - {"fido-syspopup", 2, 0, -1, 0, 0, "org.tizen.fido-syspopup"} + {"d2d-conv-syspopup", 3, 0, -1, 0, 0, "org.tizen.d2d-conv-syspopup"}, + {"fido-syspopup", 3, 0, -1, 0, 0, "org.tizen.fido-syspopup"} }; static struct syspopup_info wearable_info[] = { {"volume", 1, 1, -1, 1, 1, "org.tizen.windicator"}, - {"powerkey-syspopup", 2, 0, -1, 0, 0, "org.tizen.powerkey-syspopup"}, + {"powerkey-syspopup", 3, 0, -1, 0, 0, "org.tizen.powerkey-syspopup"}, {"lowmem-syspopup", 0, 0, 5, 0, 0, "org.tizen.lowmem-syspopup"}, {"battery-syspopup", 0, 0, 5, 0, 0, "org.tizen.battery-syspopup"}, {"system-syspopup", 1, 0, -1, 0, 0, "org.tizen.system-syspopup"}, - {"safetyvolume-syspopup", 2, 1, -1, 0, 0, "org.tizen.safetyvolume-syspopup"}, + {"safetyvolume-syspopup", 3, 1, -1, 0, 0, "org.tizen.safetyvolume-syspopup"}, {"crash-syspopup", 1, 0, -1, 0, 0, "org.tizen.crash-syspopup"}, {"wc-syspopup", 0, 0, -1, 0, 0, "net.wc-syspopup"}, {"bt-syspopup", 0, 0, -1, 0, 0, "org.tizen.bt-syspopup"}, - {"d2d-conv-syspopup", 2, 0, -1, 0, 0, "org.tizen.d2d-conv-syspopup"}, - {"fido-syspopup", 2, 0, -1, 0, 0, "org.tizen.fido-syspopup"}, + {"d2d-conv-syspopup", 3, 0, -1, 0, 0, "org.tizen.d2d-conv-syspopup"}, + {"fido-syspopup", 3, 0, -1, 0, 0, "org.tizen.fido-syspopup"}, {"telephony-syspopup", 1, 1, 5, 0, 0, "org.tizen.telephony-syspopup"} }; -- 2.7.4