diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2016-01-21 19:15:35 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2016-01-21 19:23:03 +0900 |
commit | 0a9343c332a3250e571a3110135e956ddc4de6cf (patch) | |
tree | 990949c6cd58e01517a4395c4a3ecac2aee8ba74 | |
parent | a4e7ff94e5db5fa7d945a76732d260776117979d (diff) | |
download | ui-gadget-1-submit/tizen/20160122.030358.tar.gz ui-gadget-1-submit/tizen/20160122.030358.tar.bz2 ui-gadget-1-submit/tizen/20160122.030358.zip |
Separate app paths for global appsubmit/tizen/20160122.030358
- There are two types of global apps. One is read only and the other
is writable. Paths for those are different each other.
Change-Id: I9d6c7806fd349377b74de5b9e0f0cce60481cfed
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rw-r--r-- | src/module.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/module.c b/src/module.c index 0a2dd41..586cab1 100644 --- a/src/module.c +++ b/src/module.c @@ -163,6 +163,13 @@ static int __get_ug_info(const char* name, char** ug_file_path) LOGD("ug_file(%s) check ok(%d)", ug_file, errno); goto out_func; } else { + snprintf(ug_file, sizeof(ug_file), "%s/%s/lib/ug/lib%s.so", + tzplatform_getenv(TZ_SYS_RW_APP), pkg_name, name); + if (file_exist(ug_file)) { + LOGD("ug_file(%s) check ok(%d)", ug_file, errno); + goto out_func; + } + LOGD("ug_file(%s) check fail(%d)", ug_file, errno); } /* Downloadable CORE APP(TPK) */ |