summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorHaejeong Kim <backto.kim@samsung.com>2017-05-18 05:01:48 (GMT)
committerHaejeong Kim <backto.kim@samsung.com>2017-05-18 05:01:48 (GMT)
commit9854665b61c46ea62b0d4654228327c470be4826 (patch)
treea8c074b0f8c3fccdd62c8c5838c0de1b6e1b446d /src/util
parentbeeba1d851b990b7ac150452489c289d2e96dc47 (diff)
downloadlibmedia-thumbnail-9854665b61c46ea62b0d4654228327c470be4826.zip
libmedia-thumbnail-9854665b61c46ea62b0d4654228327c470be4826.tar.gz
libmedia-thumbnail-9854665b61c46ea62b0d4654228327c470be4826.tar.bz2
Use Common API in libmedia-util to get storage_type instead of internal APIrefs/changes/58/129758/1
Change-Id: Id2f14227aa97ce28eda8c20c8882b0183dffc9e5
Diffstat (limited to 'src/util')
-rwxr-xr-xsrc/util/media-thumb-util.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/util/media-thumb-util.c b/src/util/media-thumb-util.c
index a0e5282..b026ce9 100755
--- a/src/util/media-thumb-util.c
+++ b/src/util/media-thumb-util.c
@@ -91,19 +91,6 @@ _media_thumb_get_file_type(const char *file_full_path)
return THUMB_NONE_TYPE;
}
-int _media_thumb_get_store_type_by_path(const char *full_path)
-{
- if (full_path != NULL && THUMB_PATH_PHONE != NULL && THUMB_PATH_MMC != NULL) {
- if (strncmp(full_path, THUMB_PATH_PHONE, strlen(THUMB_PATH_PHONE)) == 0) {
- return THUMB_PHONE;
- } else if (strncmp(full_path, THUMB_PATH_MMC, strlen(THUMB_PATH_MMC)) == 0) {
- return THUMB_MMC;
- }
- }
-
- return -1;
-}
-
int _media_thumb_remove_file(const char *path)
{
int result = -1;