summaryrefslogtreecommitdiff
path: root/src/pwlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pwlock.c')
-rwxr-xr-xsrc/pwlock.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/pwlock.c b/src/pwlock.c
index f62e6a3..0526e5f 100755
--- a/src/pwlock.c
+++ b/src/pwlock.c
@@ -435,7 +435,10 @@ 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_GREETING);
+ if (ad->is_exec_after_bootup == 0 && ad->is_first_boot && ad->cancel_setup == 0)
+ _trans(ad, _ST_GREETING);
+ else
+ _trans(ad, _ST_EXIT);
do_state(ad);
} else {
_DBG("TAPI is ready");
@@ -513,7 +516,11 @@ 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_GREETING);
+ if (ad->is_exec_after_bootup == 0 && ad->is_first_boot && ad->cancel_setup == 0)
+ _trans(ad, _ST_GREETING);
+ else
+ _trans(ad, _ST_EXIT);
+
return ECORE_CALLBACK_RENEW;
}