summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhhh.kwon <hhh.kwon@samsung.com>2013-04-16 13:13:33 (GMT)
committerhhh.kwon <hhh.kwon@samsung.com>2013-04-16 13:13:33 (GMT)
commit91f2aec652bd8648a7a870c0112b47f969fa2f5d (patch)
tree6dd33a5fe97f08b7b158362ffcdf4f7fc14261df
parent0ac5eb19548ea1558986bd1dcffc3cc8b5b70d91 (diff)
downloadstarter-91f2aec652bd8648a7a870c0112b47f969fa2f5d.zip
starter-91f2aec652bd8648a7a870c0112b47f969fa2f5d.tar.gz
starter-91f2aec652bd8648a7a870c0112b47f969fa2f5d.tar.bz2
Fix N_SE-34678 : Lock key disappear when try to unlock emulator on ideal screen
-rwxr-xr-xsrc/lock-daemon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lock-daemon.c b/src/lock-daemon.c
index 3847f8c..10e8d66 100755
--- a/src/lock-daemon.c
+++ b/src/lock-daemon.c
@@ -173,7 +173,7 @@ static int lockd_app_dead_cb(int pid, void *data)
struct lockd_data *lockd = (struct lockd_data *)data;
- if (pid == lockd->lock_app_pid && lockd->lock_type == 0) {
+ if (pid == lockd->lock_app_pid && lockd->lock_type == 2) {
LOCKD_DBG("lock app(pid:%d) is destroyed.", pid);
lockd_unlock_lockscreen(lockd);
@@ -182,6 +182,7 @@ static int lockd_app_dead_cb(int pid, void *data)
menu_daemon_check_dead_signal(pid);
return 0;
+
}
static Eina_Bool lockd_app_create_cb(void *data, int type, void *event)