summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunghoon Park <jh9216.park@samsung.com>2016-04-06 19:59:10 -0700
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2016-04-06 19:59:10 -0700
commitd358f8024bfdb1af060ad08db861bc08e1008d5d (patch)
tree6ca9ff192555812207bf0f04519a165495b8dd52
parentb0d7aa2c02be7cd65a76420c7a39fde81221158a (diff)
parent0bf1d46c2b1d851cf187bc3ec03f2088ebbc52cf (diff)
downloadapp-core-accepted/tizen/tv/20160408.052428.tar.gz
app-core-accepted/tizen/tv/20160408.052428.tar.bz2
app-core-accepted/tizen/tv/20160408.052428.zip
-rw-r--r--src/appcore.c10
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) {