remove hardcoded path 45/60245/3 accepted/tizen/common/20160301.120519 accepted/tizen/common/20160302.193732 accepted/tizen/ivi/20160302.224035 accepted/tizen/mobile/20160302.223948 accepted/tizen/tv/20160302.224001 accepted/tizen/wearable/20160302.224021 submit/tizen/20160302.020013 submit/tizen/20160302.065807 submit/tizen_common/20160301.034850
authorJiwoong Im <jiwoong.im@samsung.com>
Wed, 24 Feb 2016 09:21:12 +0000 (18:21 +0900)
committerJiwoong Im <jiwoong.im@samsung.com>
Fri, 26 Feb 2016 08:29:01 +0000 (00:29 -0800)
Change-Id: Ie3d49ebfa5ade30495a168e933765af160b86e01
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
inc/app2ext_interface.h

index 8b932d4..00429a0 100755 (executable)
@@ -68,8 +68,8 @@ extern "C" {
 #endif
 
 #define APP2EXT_SUCCESS 0
-#define MMC_PATH "/opt/storage/sdcard"
-#define APP2SD_PATH MMC_PATH"/app2sd/"
+#define MMC_PATH tzplatform_mkpath(TZ_SYS_STORAGE, "sdcard")
+#define APP2SD_PATH tzplatform_mkpath(TZ_SYS_STORAGE, "sdcard/app2sd/")
 #define APP_INSTALLATION_PATH tzplatform_mkpath(TZ_USER_APP, "")
 
 /**