summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminje.ahn <minje.ahn@samsung.com>2024-03-06 17:32:13 +0900
committerminje.ahn <minje.ahn@samsung.com>2024-03-07 13:52:23 +0900
commit59af7cc1b17ec5b5d52aec4a274c4d8bd1226045 (patch)
treef3af5b0c5b26b23a5a9d9cf272637002de0a8d14
parentf9ad03867398a17dbe44ea4b8ee3c85c3adca9de (diff)
downloadmedia-content-59af7cc1b17ec5b5d52aec4a274c4d8bd1226045.tar.gz
media-content-59af7cc1b17ec5b5d52aec4a274c4d8bd1226045.tar.bz2
media-content-59af7cc1b17ec5b5d52aec4a274c4d8bd1226045.zip
Change-Id: Ib379e847791fcb1474dd0fea070bcec4fcab9291 Signed-off-by: minje.ahn <minje.ahn@samsung.com>
-rw-r--r--src/media_content.c2
-rw-r--r--src/media_info.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/media_content.c b/src/media_content.c
index 1035217..7550c65 100644
--- a/src/media_content.c
+++ b/src/media_content.c
@@ -468,7 +468,7 @@ void _media_content_db_update_noti_cb(
media_item_update_type_e update_type,
char* path,
char* uuid,
- media_type_e content_type,
+ int content_type,
char *mime_type,
void *user_data)
{
diff --git a/src/media_info.c b/src/media_info.c
index daae28f..e29d17c 100644
--- a/src/media_info.c
+++ b/src/media_info.c
@@ -1325,7 +1325,7 @@ int media_info_update_to_db(media_info_h media)
/* Send notification for this update */
content_debug("Update is successful. Send notification for this");
if (_media->file_path && _media->mime_type)
- media_svc_publish_noti(MS_MEDIA_ITEM_UPDATE, _media->file_path, _media->media_type, _media->media_id, _media->mime_type);
+ media_svc_publish_update_noti(_media->file_path, _media->media_type, _media->media_id, _media->mime_type);
else
content_error("Can't Send Noti : path or mime type is NULL");
}