remove vconf callback in lock type 81/79481/1 accepted/tizen/mobile/20160712.000725 submit/tizen/20160711.230553
authorkiseok chang <kiso.chang@samsung.com>
Mon, 11 Jul 2016 11:59:20 +0000 (20:59 +0900)
committerkiseok chang <kiso.chang@samsung.com>
Mon, 11 Jul 2016 12:01:36 +0000 (21:01 +0900)
- remove callback of VCONFKEY_SETAPPL_SCREEN_LOCK_TYPE_INT
- it made crash after slecting None/Swipe

Change-Id: I91e8966030055ca2620e6abbc19f39aa66b052a3
Signed-off-by: kiseok chang <kiso.chang@samsung.com>
setting-locktype/src/setting-locktype-main.c

index d0ccae527f2289f60183619af7f32c85ed25e1d0..789a41d96c1836af9b59512bc051d78996bacf9d 100644 (file)
@@ -565,8 +565,10 @@ static int setting_locktype_main_create(void *cb)
 
        __add_locktype_items(ad);
 
+#if 0
        vconf_notify_key_changed(VCONFKEY_SETAPPL_SCREEN_LOCK_TYPE_INT,
                        __lock_type_key_changed_cb, ad);
+#endif
 
        setting_view_locktype_main.is_create = 1;
        return SETTING_RETURN_SUCCESS;
@@ -585,8 +587,10 @@ static int setting_locktype_main_destroy(void *cb)
                ad->notify = NULL;
        }
 
+#if 0
        (void) vconf_ignore_key_changed(VCONFKEY_SETAPPL_SCREEN_LOCK_TYPE_INT,
                        __lock_type_key_changed_cb);
+#endif
 
        evas_object_del(ad->ly_main);
        ad->screen_lock_main_item = NULL;