[TM-163] Resolve search issue 70/54270/2 accepted/tizen/mobile/20151214.134943 submit/tizen_mobile/20151214.123040
authorSheenu <sheenu.15@samsung.com>
Mon, 14 Dec 2015 11:22:41 +0000 (16:52 +0530)
committerPrakashPedarla Samsung <prakashc.p@samsung.com>
Mon, 14 Dec 2015 11:34:49 +0000 (03:34 -0800)
Change-Id: I15d616282bc44a76c8bf2b62f2761fd6b4b67825
Signed-off-by: Sheenu <sheenu.15@samsung.com>
inc/mf-fs-util.h
inc/mf-ug-detail-fs.h

index 05713a5924cd10039e72ffd2192a781fb6635b73..d753a2eaa3d62961747ed3f42cec3b8fa61f5b09 100755 (executable)
@@ -34,6 +34,7 @@
 #include "media_content.h"
 #include "mf-dlog.h"
 #include "mf-error.h"
+#include <tzplatform_config.h>
 
 #define DEBUG_FOLDER    "SLP_debug"
 
 #define MYFILE_FOLDER_SIZE                     0;
 
 /*     File system related String definition   */
-#define PHONE_FOLDER    "/opt/usr/media"
+#define PHONE_FOLDER    tzplatform_getenv(TZ_USER_CONTENT)
 #define MEMORY_FOLDER   "/opt/storage/sdcard"
-#define PHONE_PARENT    "/opt/usr"
-#define PHONE_NAME         "media"
+#define PHONE_PARENT    tzplatform_getenv(TZ_USER_HOME)
+#define PHONE_NAME         "content"
 #define STORAGE_PARENT  "/opt/storage"
 #define MMC_NAME           "sdcard"
 
index 541f3e70403892d339d2a7dc874b289a39e7346b..7df69720c5fd07e96da2f6cf98848b825dd224e2 100755 (executable)
@@ -30,6 +30,7 @@
 #include <linux/fs.h>
 #include <Eina.h>
 #include <glib.h>
+#include <tzplatform_config.h>
 
 #include <Elementary.h>
 #include <utils_i18n.h>
@@ -43,7 +44,7 @@
 #define UG_FILE_CREATE_DATE_MAX                128
 #define UG_NOMAL_BUF                   128
 #define UG_MYFILE_CHILDPATH_LEN                512
-#define UG_PHONE_FOLDER                        "/opt/usr/media"
+#define UG_PHONE_FOLDER                        tzplatform_getenv(TZ_USER_CONTENT)
 #define UG_MEMORY_FOLDER                       "/opt/storage/sdcard"
 #define UG_MEMORY_DEV_FOLDER           "/dev/mmcblk1p1"