summaryrefslogtreecommitdiff
path: root/src/app_resource.c
diff options
context:
space:
mode:
authorJiwoong Im <jiwoong.im@samsung.com>2014-03-17 15:10:40 +0900
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-03-18 01:29:06 -0700
commitc92cec0e876d638b91eb64e12e306e9a29ed2e8f (patch)
tree16c088f0c323e8786b5342daf4922d41033ee598 /src/app_resource.c
parent93974ec6cbdf65e867ac41921ff0faae341040c5 (diff)
downloadapplication-c92cec0e876d638b91eb64e12e306e9a29ed2e8f.tar.gz
application-c92cec0e876d638b91eb64e12e306e9a29ed2e8f.tar.bz2
application-c92cec0e876d638b91eb64e12e306e9a29ed2e8f.zip
Bug-Tizen: PTREL-258 Change-Id: If4d974a2b064fcebd7b5cece39a60e97e324b6b4 Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
Diffstat (limited to 'src/app_resource.c')
-rwxr-xr-xsrc/app_resource.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/app_resource.c b/src/app_resource.c
index a3c2da5..cadcee8 100755
--- a/src/app_resource.c
+++ b/src/app_resource.c
@@ -33,14 +33,17 @@
#include <app_private.h>
#include <app_service_private.h>
+#include <tzplatform_config.h>
+
#ifdef LOG_TAG
#undef LOG_TAG
#endif
#define LOG_TAG "CAPI_APPFW_APPLICATION"
-static const char *INSTALLED_PATH = "/opt/usr/apps";
-static const char *RO_INSTALLED_PATH = "/usr/apps";
+#define INSTALLED_PATH tzplatform_getenv(TZ_USER_APP)
+#define RO_INSTALLED_PATH tzplatform_getenv(TZ_SYS_RO_APP)
+
static const char *RES_DIRECTORY_NAME = "res";
static const char *DATA_DIRECTORY_NAME = "data";