From 635010717c0bee6103e0304dd57e1872273f0249 Mon Sep 17 00:00:00 2001 From: Jinjin Shi Date: Mon, 21 Jan 2013 16:14:34 +0800 Subject: [PATCH] [Bug][N_SE-22016]Fix crash Change-Id: If35f46ac908e08e199abda52ca55c28f52679169 --- src/bg.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/bg.c b/src/bg.c index 6fcc744..9f70b33 100755 --- a/src/bg.c +++ b/src/bg.c @@ -249,12 +249,11 @@ void _slider_up_cb(void *data, Evas * evas, Evas_Object * obj, void *event_info) edje_object_signal_emit(_EDJ(ad->slider), "release", "lock.image.l"); edje_object_signal_emit(_EDJ(ad->slider), "release", "lock.image.r"); + evas_object_color_set(ad->ly_main, 255, 255, 255, 255); + if (ad->bDrag == 1) { + ad->bDrag = 0; LOCK_SCREEN_TRACE_DBG("unlock the lock-screen"); - app_efl_exit(); + edje_object_signal_emit(_EDJ(ad->ly_main), "transit,clipper", "clipper"); } - - evas_object_color_set(ad->ly_main, 255, 255, 255, 255); - - ad->bDrag = 0; } -- 2.7.4