summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2015-08-28 06:39:57 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2015-08-28 06:41:45 (GMT)
commit861a99ca9cc88fb8d54e70543e227c2c2e803fe7 (patch)
tree45c0004cb23e37b18a041ea313da50d8a81d1083
parent1a7ae22e108d66abd176a0973b679ae3572e3101 (diff)
downloadlibmedia-thumbnail-861a99ca9cc88fb8d54e70543e227c2c2e803fe7.zip
libmedia-thumbnail-861a99ca9cc88fb8d54e70543e227c2c2e803fe7.tar.gz
libmedia-thumbnail-861a99ca9cc88fb8d54e70543e227c2c2e803fe7.tar.bz2
Change-Id: I92f553df5cf6c5fa50f556faeb3df9da1cdc4fdc Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
-rw-r--r--packaging/libmedia-thumbnail.spec2
-rwxr-xr-xserver/thumb-server-internal.c2
-rwxr-xr-xsrc/include/util/media-thumb-util.h6
-rwxr-xr-xsrc/media-thumb-internal.c4
4 files changed, 7 insertions, 7 deletions
diff --git a/packaging/libmedia-thumbnail.spec b/packaging/libmedia-thumbnail.spec
index 443d9ee..03520fe 100644
--- a/packaging/libmedia-thumbnail.spec
+++ b/packaging/libmedia-thumbnail.spec
@@ -1,6 +1,6 @@
Name: libmedia-thumbnail
Summary: Media thumbnail service library for multimedia applications
-Version: 0.1.83
+Version: 0.1.84
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0
diff --git a/server/thumb-server-internal.c b/server/thumb-server-internal.c
index 362326e..6a94fe2 100755
--- a/server/thumb-server-internal.c
+++ b/server/thumb-server-internal.c
@@ -562,7 +562,7 @@ static char* _media_thumb_get_default_path(uid_t uid)
thumb_err("UID [%d] does not belong to 'users' group!", uid);
return NULL;
}
- asprintf(&result_psswd, "%s/data/file-manager-service/.thumb/phone", userinfo->pw_dir);
+ asprintf(&result_psswd, "%s/share/media/.thumb/phone", userinfo->pw_dir);
}
return result_psswd;
diff --git a/src/include/util/media-thumb-util.h b/src/include/util/media-thumb-util.h
index de6d9f6..6db86bc 100755
--- a/src/include/util/media-thumb-util.h
+++ b/src/include/util/media-thumb-util.h
@@ -41,10 +41,10 @@ typedef enum {
#define THUMB_PATH_PHONE MEDIA_ROOT_PATH_INTERNAL /**< File path prefix of files stored in phone */
#define THUMB_PATH_MMC MEDIA_ROOT_PATH_SDCARD /**< File path prefix of files stored in mmc card */
-#define THUMB_PHONE_PATH tzplatform_mkpath(TZ_USER_DATA, "file-manager-service/.thumb/phone")
-#define THUMB_MMC_PATH tzplatform_mkpath(TZ_USER_DATA, "file-manager-service/.thumb/mmc")
+#define THUMB_PHONE_PATH tzplatform_mkpath(TZ_USER_SHARE, "media/.thumb/phone")
+#define THUMB_MMC_PATH tzplatform_mkpath(TZ_USER_SHARE, "media/.thumb/mmc")
-#define THUMB_DEFAULT_PATH tzplatform_mkpath(TZ_USER_DATA, "file-manager-service/.thumb/thumb_default.png")
+#define THUMB_DEFAULT_PATH tzplatform_mkpath(TZ_USER_SHARE, "media/.thumb/thumb_default.png")
typedef enum
{
diff --git a/src/media-thumb-internal.c b/src/media-thumb-internal.c
index f3a8246..69a1175 100755
--- a/src/media-thumb-internal.c
+++ b/src/media-thumb-internal.c
@@ -1310,7 +1310,7 @@ static char* _media_thumb_mmc_get_path(uid_t uid)
thumb_err("UID [%d] does not belong to 'users' group!", uid);
return NULL;
}
- asprintf(&result_psswd, "%s/data/file-manager-service/.thumb/mmc", userinfo->pw_dir);
+ asprintf(&result_psswd, "%s/share/media/.thumb/mmc", userinfo->pw_dir);
}
return result_psswd;
@@ -1348,7 +1348,7 @@ static char* _media_thumb_phone_get_path(uid_t uid)
thumb_err("UID [%d] does not belong to 'users' group!", uid);
return NULL;
}
- asprintf(&result_psswd, "%s/data/file-manager-service/.thumb/phone", userinfo->pw_dir);
+ asprintf(&result_psswd, "%s/share/media/.thumb/phone", userinfo->pw_dir);
}
return result_psswd;