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();
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
#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"
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;
.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,
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;
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;
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);
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;
}
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;
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();
} 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();