summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2018-07-17 07:14:20 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2018-07-17 07:14:20 (GMT)
commit60cb59fe31c8e61be1918d2749810aa36b885be3 (patch)
treed6937a1ac076325225f728b869131a86d6cb3d78 /src
parent7c69a752fe648c40dc02c40abbde669eeaa07109 (diff)
downloadlibmedia-thumbnail-60cb59fe31c8e61be1918d2749810aa36b885be3.zip
libmedia-thumbnail-60cb59fe31c8e61be1918d2749810aa36b885be3.tar.gz
libmedia-thumbnail-60cb59fe31c8e61be1918d2749810aa36b885be3.tar.bz2
Unifies the thumbnail path regardless of the storage type Change-Id: I3420b5c7ba7a6441bb44151f25d199978c9aa121 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/media-thumb-internal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media-thumb-internal.c b/src/media-thumb-internal.c
index 44b9d88..47051d4 100755
--- a/src/media-thumb-internal.c
+++ b/src/media-thumb-internal.c
@@ -361,7 +361,7 @@ int _media_thumb_get_hash_name(const char *file_full_path, char *thumb_hash_path
return MS_MEDIA_ERR_INTERNAL;
}
- ret = ms_user_get_thumb_store_path(uid, storage_type, storage_id, &get_path);
+ ret = ms_user_get_root_thumb_store_path(uid, &get_path);
SAFE_FREE(storage_id);
if (get_path != NULL)
ret_len = snprintf(thumb_hash_path, max_thumb_path - 1, "%s/.%s-%s.jpg", get_path, file_ext, hash_name);