From: sunyeop.hwnag Date: Sat, 1 Sep 2012 06:42:25 +0000 (+0900) Subject: change to run setup wizard ui when tapi init failed X-Git-Tag: 2.0_alpha~3 X-Git-Url: http://review.tizen.org/git/?p=apps%2Fhome%2Fpwlock.git;a=commitdiff_plain;h=cf6435f2ee2c651a384cbcf44139c2284b97767f change to run setup wizard ui when tapi init failed Change-Id: Ie09a5a2346a6ab3469d99bf3d47efb2599eb76f4 --- diff --git a/src/pwlock.c b/src/pwlock.c index c48551f..f62e6a3 100755 --- a/src/pwlock.c +++ b/src/pwlock.c @@ -435,7 +435,7 @@ Eina_Bool vconf_tapi_ready_expire_cb(void *pData) } else { if (vconf_val == VCONFKEY_TELEPHONY_TAPI_STATE_NONE) { _DBG("TAPI is not ready, pwlock exit"); - _trans(ad, _ST_EXIT); + _trans(ad, _ST_GREETING); do_state(ad); } else { _DBG("TAPI is ready"); @@ -513,7 +513,7 @@ static int do_ST_TAPI_INIT(struct appdata *ad) ad->t = pwlock_tapi_init(pwlock_tapi_cb, ad); if (ad->t == NULL) { _ERR("TAPI init error"); - _trans(ad, _ST_EXIT); + _trans(ad, _ST_GREETING); return ECORE_CALLBACK_RENEW; }