- 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>
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) */