Fix diretory path issue 61/63361/1 accepted/tizen/mobile/20160324.132453 accepted/tizen/tv/20160324.132332 submit/tizen_mobile/20160324.005509 submit/tizen_tv/20160324.005457
authormin7.choi <min7.choi@samsung.com>
Wed, 23 Mar 2016 10:03:51 +0000 (19:03 +0900)
committermin7.choi <min7.choi@samsung.com>
Wed, 23 Mar 2016 10:03:51 +0000 (19:03 +0900)
Change-Id: I24c2284020d5db8c5d465a4e208acbbf9121f4d6
Signed-off-by: min7.choi <min7.choi@samsung.com>
agent/download-agent-file.c
agent/include/download-agent-type.h
build.sh

index a690075..f760341 100755 (executable)
@@ -880,6 +880,7 @@ da_ret_t get_available_memory(char *dir_path, da_size_t len)
 
        if (!dir_path)
                return DA_ERR_INVALID_INSTALL_PATH;
+       DA_LOGD("Dir_path : %s", dir_path);
 
        fs_ret = statfs(dir_path, &filesys_info);
        // Using this as it considers FOTA memory while returning available memory
index 4d89344..d6ef6aa 100755 (executable)
@@ -35,7 +35,8 @@ typedef unsigned long long da_size_t;
 
 #define SCHEME_HTTP            "http://"
 
-#define DA_DEFAULT_INSTALL_PATH_FOR_PHONE tzplatform_getenv(TZ_USER_DOWNLOADS)
+//#define DA_DEFAULT_INSTALL_PATH_FOR_PHONE tzplatform_getenv(TZ_USER_DOWNLOADS)
+#define DA_DEFAULT_INSTALL_PATH_FOR_PHONE "/home/owner/content/Downloads"
 
 #define DA_MAX_ID      DA_MAX_DOWNLOAD_REQ_AT_ONCE
 
index b61fe4f..a09234a 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -1 +1 @@
-gbs -c .gbs.conf build -P tztv_v3.0-wayland -A armv7l --include-all $@
+gbs -c .gbs.conf build -P tztv_v3.0-wayland_mirror -A armv7l --include-all $@