From d8256623c38205b0b99514990a490406a73fdeae Mon Sep 17 00:00:00 2001 From: Minje Ahn Date: Wed, 11 Oct 2017 08:56:57 +0900 Subject: [PATCH] Update description Change-Id: I9c5e0c9418716d86714e4001bf15b8d39bfcf6c1 Signed-off-by: Minje Ahn --- include_product/media_info.h | 4 +++- include_product/media_info_private.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include_product/media_info.h b/include_product/media_info.h index 4a0a917..98e7914 100755 --- a/include_product/media_info.h +++ b/include_product/media_info.h @@ -1562,7 +1562,9 @@ int media_info_set_added_time(media_info_h media, time_t added_time) TIZEN_DEPRE /** * @brief Moves the media info to the given destination path in the media database. - * @details After moving or renaming a file in the filesystem, call this function to update the database. + * @details After moving or renaming a file in the filesystem, call this function to update the database. \n + * If the source path and destination path are the same, then this API does nothing. + * If you want to refresh media information, you should use media_content_scan_file() API. * * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * diff --git a/include_product/media_info_private.h b/include_product/media_info_private.h index d305c21..a9ac795 100755 --- a/include_product/media_info_private.h +++ b/include_product/media_info_private.h @@ -840,7 +840,7 @@ typedef struct _media_content_scan_cb_data_v2 { #define SELECT_FACE_LIST_BY_MEDIA_ID "SELECT fa.face_uuid, fa.media_uuid, fa.face_rect_x, fa.face_rect_y, fa.face_rect_w, fa.face_rect_h, fa.orientation, fa.face_tag FROM "FACE_MEDIA_JOIN" AND fa.media_uuid='%s'" #define SELECT_FACE_PATH_FROM_MEDIA "SELECT path FROM "DB_TABLE_MEDIA_VIEW" media_uuid='%s'" #define SELECT_MEDIA_FROM_FACE "SELECT media_uuid FROM "DB_TABLE_FACE" WHERE face_uuid='%q' AND user_marked = 0" -#define UPDATE_MEDIA_INFO_IN_FACE_SCAN_LIST "UPDATE "DB_TABLE_FACE_SCAN_LIST" SET modified_time = 0 WHERE media_uuid='%q'" +#define UPDATE_MEDIA_INFO_IN_FACE_SCAN_LIST "UPDATE "DB_TABLE_FACE_SCAN_LIST" SET modified_time = 0 WHERE media_uuid='%q'" #define DEFAULT_MEDIA_STORAGE_ID "media" -- 2.7.4