Update description 10/154610/2 accepted/tizen/unified/20171011.070110 submit/tizen/20171011.000930
authorMinje Ahn <minje.ahn@samsung.com>
Tue, 10 Oct 2017 23:56:57 +0000 (08:56 +0900)
committerhj kim <backto.kim@samsung.com>
Tue, 10 Oct 2017 23:57:48 +0000 (23:57 +0000)
Change-Id: I9c5e0c9418716d86714e4001bf15b8d39bfcf6c1
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
include_product/media_info.h
include_product/media_info_private.h

index 4a0a917..98e7914 100755 (executable)
@@ -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
  *
index d305c21..a9ac795 100755 (executable)
@@ -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"