#define ISTRUE "TRUE"
#define SYSPOPUPID_VOLUME "volume"
-#define DEAD_TIMER_SEC 2.0
+#define DEAD_TIMER_SEC 10.0
#define DEAD_TIMER_COUNT_MAX 2
#define VCONFKEY_PRIVATE_STARTER_IS_FALLBACK "db/private/starter/is_fallback"
char *home_appid = NULL;
if (status_passive_get()->idle_screen_safemode) {
+ _D("SAFE MODE is enabled");
home_appid = MENU_SCREEN_PKG_NAME;
} else if (!appid) {
home_appid = status_active_get()->setappl_selected_package_name;
char *appid = NULL;
int seq = status_active_get()->starter_sequence;
+ /**
+ * @todo
+ * Sequence is not changed. it should be managed by WHO?
+ */
+ seq = 1;
+
if (seq < 1) {
_E("Sequence is not ready yet, do nothing");
return 1;
if (!s_home_mgr.dead_timer) {
_D("Add dead timer");
s_home_mgr.dead_timer = ecore_timer_add(DEAD_TIMER_SEC, _dead_timer_cb, (void *)appid);
+ if (!s_home_mgr.dead_timer) {
+ _E("Failed to add a dead timer");
+ }
}
_launch_home(appid);
if (key) {
b = bundle_create();
+ if (!b) {
+ _E("Failed to create a bundle");
+ return -1;
+ }
bundle_add(b, key, value);
}
launch_info = calloc(1, sizeof(launch_info_s));
ret_if(!launch_info);
-
if (appid) launch_info->appid = strdup(appid);
if (key) launch_info->key = strdup(key);
if (value) launch_info->value = strdup(value);