} 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
*/
}
}
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);
}
}
}
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");
{
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();