Fix N_SE-14965 : menu-screen shows while any other apps reopen.
authorhhh.kwon <hhh.kwon@samsung.com>
Mon, 10 Dec 2012 06:29:18 +0000 (15:29 +0900)
committerhhh.kwon <hhh.kwon@samsung.com>
Mon, 10 Dec 2012 06:29:18 +0000 (15:29 +0900)
src/_genlist.c
src/_logic.c
src/taskmanager.c

index 8a7277e..7f14305 100755 (executable)
@@ -279,7 +279,7 @@ _D("func\n");
                } else {
                        _unset_notification_level(info->ad->win);
 
-                       if (!strcmp(info->pkg_name, "org.tizen.phone")) {
+                       if (!strcmp(info->pkg_name, "org.samsung.phone")) {
                                /* exception : Because dialer doesn't need bundle
                                 * since being unifyed dialer, voice call and video call
                                 */
@@ -292,7 +292,7 @@ _D("func\n");
                }
        }
        if(ret == 0) {
-               _D("exit after 1.0 sec\n");
+               _D("exit after 0.3 sec\n");
                ad->exit_timer = ecore_timer_add(0.3, _exit_cb, ad);
        }
 }
index 18fdf7d..a90d2c4 100755 (executable)
@@ -219,8 +219,7 @@ static Eina_Bool __climsg_cb(void *data, int type, void *event)
        }
 
        if (ev->message_type == a_deact) {
-               _D("exit after 0.3 sec\n");
-               ad->exit_timer = ecore_timer_add(0.3, _exit_cb, ad);
+               _exit_cb(ad);
                return ECORE_CALLBACK_CANCEL;
        } else {
                _D("messagre is act\n");
index 271a5b5..11a690f 100755 (executable)
@@ -123,6 +123,9 @@ Eina_Bool _exit_cb(void *data)
 {
        struct appdata *ad = (struct appdata *)data;
 
+       if(ad->exit_timer == NULL)
+               return ECORE_CALLBACK_CANCEL;
+
        ad->exit_timer = NULL;
        if(_get_vconf_idlelock() == IDLELOCK_OFF){
                elm_exit();