From 02ad386a9da8626f412a7f7dea504c1c6c70c3a3 Mon Sep 17 00:00:00 2001 From: Shivam Varshney/Core S/W Group /SRI-Delhi/Engineer/Samsung Electronics Date: Thu, 15 Feb 2024 14:56:29 +0530 Subject: [PATCH] Removing QuickPanel App launching from starter. Change-Id: I0b2321700a0902e3b06457a5acb2b2d69fe104ca Signed-off-by: Shivam Varshney/Core S/W Group /SRI-Delhi/Engineer/Samsung Electronics --- include/common/home_mgr.h | 2 -- include/common/hw_key.h | 1 - src/common/home_mgr.c | 19 ------------------- src/common/hw_key.c | 1 - src/common/starter.c | 5 ----- 5 files changed, 28 deletions(-) diff --git a/include/common/home_mgr.h b/include/common/home_mgr.h index 4000ea4..02a72f8 100755 --- a/include/common/home_mgr.h +++ b/include/common/home_mgr.h @@ -21,7 +21,6 @@ extern int home_mgr_get_home_pid(void); extern int home_mgr_get_volume_pid(void); extern int home_mgr_get_indicator_pid(void); -extern int home_mgr_get_quickpanel_pid(void); extern int home_mgr_get_taskbar_pid(void); extern int home_mgr_get_softkey_pid(void); extern void home_mgr_softkey_dead_signal_received(); @@ -34,7 +33,6 @@ extern void softkey_mgr_fini(void); void home_mgr_relaunch_homescreen(void); void home_mgr_relaunch_volume(void); void home_mgr_relaunch_indicator(void); -void home_mgr_relaunch_quickpanel(void); void home_mgr_relaunch_taskbar(void); extern void home_mgr_open_home(const char *appid, const char *key, const char *val); // End of a file \ No newline at end of file diff --git a/include/common/hw_key.h b/include/common/hw_key.h index 74d7c82..7ef69e2 100755 --- a/include/common/hw_key.h +++ b/include/common/hw_key.h @@ -59,7 +59,6 @@ typedef enum { KEY_CANCEL, KEY_SOFTBD, KEY_TASKBAR, - KEY_QUICKPANEL, KEY_TASKSWITCH, KEY_HOMEPAGE, KEY_WEBPAGE, diff --git a/src/common/home_mgr.c b/src/common/home_mgr.c index 1d75ff4..aa86d44 100755 --- a/src/common/home_mgr.c +++ b/src/common/home_mgr.c @@ -43,7 +43,6 @@ #define DEAD_TIMER_COUNT_MAX 2 #define APPID_INDICATOR "org.tizen.indicator" -#define APPID_QUICKPANEL "org.tizen.quickpanel" #define APPID_SOFTKEY "org.tizen.softkey-container" #define APPID_TASKBAR "org.tizen.taskbar" @@ -54,7 +53,6 @@ static struct { pid_t home_pid; pid_t volume_pid; pid_t indicator_pid; - pid_t quickpanel_pid; pid_t softkey_pid; pid_t taskbar_pid; int power_off; @@ -67,7 +65,6 @@ static struct { .home_pid = (pid_t)-1, .volume_pid = (pid_t)-1, .indicator_pid = (pid_t)-1, - .quickpanel_pid = (pid_t)-1, .softkey_pid = (pid_t)-1, .taskbar_pid = (pid_t)-1, .power_off = 0, @@ -97,11 +94,6 @@ int home_mgr_get_indicator_pid(void) return s_home_mgr.indicator_pid; } -int home_mgr_get_quickpanel_pid(void) -{ - return s_home_mgr.quickpanel_pid; -} - int home_mgr_get_softkey_pid(void) { return s_home_mgr.softkey_pid; @@ -293,11 +285,6 @@ static void _after_launch_indicator(int pid) s_home_mgr.indicator_pid = pid; } -static void _after_launch_quickpanel(int pid) -{ - s_home_mgr.quickpanel_pid = pid; -} - static void _after_launch_softkey(int pid) { s_home_mgr.softkey_pid = pid; @@ -449,11 +436,6 @@ void home_mgr_relaunch_indicator(void) process_mgr_must_launch(APPID_INDICATOR, NULL, NULL, NULL, _after_launch_indicator); } -void home_mgr_relaunch_quickpanel(void) -{ - process_mgr_must_launch(APPID_QUICKPANEL, NULL, NULL, NULL, _after_launch_quickpanel); -} - void home_mgr_relaunch_taskbar(void) { process_mgr_must_launch(APPID_TASKBAR, NULL, NULL, NULL, _after_launch_taskbar); @@ -542,7 +524,6 @@ static Eina_Bool _launch_apps_idler_cb(void *data) process_mgr_must_syspopup_launch(SYSPOPUPID_VOLUME, NULL, NULL, NULL, _after_launch_volume); #endif process_mgr_must_launch(APPID_INDICATOR, NULL, NULL, NULL, _after_launch_indicator); - process_mgr_must_launch(APPID_QUICKPANEL, NULL, NULL, NULL, _after_launch_quickpanel); return ECORE_CALLBACK_CANCEL; } diff --git a/src/common/hw_key.c b/src/common/hw_key.c index b6a6f40..49c53a2 100755 --- a/src/common/hw_key.c +++ b/src/common/hw_key.c @@ -74,7 +74,6 @@ const char *key_name[KEY_NAME_MAX] = { "Cancel", "XF86SoftKBD", "XF86Taskbar", - "XF86QuickPanel", "XF86TaskPane", "XF86HomePage", "XF86WWW", diff --git a/src/common/starter.c b/src/common/starter.c index c07a13a..05b69cc 100755 --- a/src/common/starter.c +++ b/src/common/starter.c @@ -195,7 +195,6 @@ static int _check_dead_signal(int pid, void *data) int home_pid = 0; int volume_pid = 0; int indicator_pid = 0; - int quickpanel_pid = 0; int taskbar_pid = 0; #if LOCKSCREEN_ENABLE int lock_pid = 0; @@ -213,7 +212,6 @@ static int _check_dead_signal(int pid, void *data) home_pid = home_mgr_get_home_pid(); volume_pid = home_mgr_get_volume_pid(); indicator_pid = home_mgr_get_indicator_pid(); - quickpanel_pid = home_mgr_get_quickpanel_pid(); taskbar_pid = home_mgr_get_taskbar_pid(); #if LOCKSCREEN_ENABLE lock_pid = lock_mgr_get_lock_pid(); @@ -238,9 +236,6 @@ static int _check_dead_signal(int pid, void *data) } else if (pid == indicator_pid) { _D("indicator is dead"); home_mgr_relaunch_indicator(); - } else if (pid == quickpanel_pid) { - _D("quickpanel is dead"); - home_mgr_relaunch_quickpanel(); } else if (pid == taskbar_pid) { _D("taskbar is dead"); home_mgr_relaunch_taskbar(); -- 2.7.4