Modify media_svc_publish_noti 42/307242/2 accepted/tizen/unified/20240308.174244 accepted/tizen/unified/x/20240311.100232
authorminje.ahn <minje.ahn@samsung.com>
Wed, 6 Mar 2024 08:32:13 +0000 (17:32 +0900)
committerminje.ahn <minje.ahn@samsung.com>
Thu, 7 Mar 2024 04:52:23 +0000 (13:52 +0900)
Change-Id: Ib379e847791fcb1474dd0fea070bcec4fcab9291
Signed-off-by: minje.ahn <minje.ahn@samsung.com>
src/media_content.c
src/media_info.c

index 1035217..7550c65 100644 (file)
@@ -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)
 {
index daae28f..e29d17c 100644 (file)
@@ -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");
        }