diff options
-rw-r--r-- | src/appcore.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/appcore.c b/src/appcore.c index 4209c41..991c728 100644 --- a/src/appcore.c +++ b/src/appcore.c @@ -512,6 +512,7 @@ static void __remove_suspend_timer(struct appcore *ac) static int __aul_handler(aul_type type, bundle *b, void *data) { int ret; + const char *tep_path = NULL; #ifdef _APPFW_FEATURE_BACKGROUND_MANAGEMENT const char *bg = NULL; struct appcore *ac = data; @@ -520,6 +521,15 @@ static int __aul_handler(aul_type type, bundle *b, void *data) switch (type) { case AUL_START: _DBG("[APP %d] AUL event: AUL_START", _pid); + tep_path = bundle_get_val(b, AUL_TEP_PATH); + if (tep_path) { + ret = aul_check_tep_mount(tep_path); + if (ret == -1) { + _ERR("mount request not completed within 1 sec"); + exit(-1); + } + } + #ifdef _APPFW_FEATURE_BACKGROUND_MANAGEMENT bg = bundle_get_val(b, AUL_K_ALLOWED_BG); if (bg && strncmp(bg, "ALLOWED_BG", strlen("ALLOWED_BG")) == 0) { |