[ACR-1348] Fix bug of media_info_insert_to_db API 96/198696/3 accepted/tizen/unified/20190131.161508 accepted/tizen/unified/20190208.061624 submit/tizen/20190130.041352 submit/tizen/20190207.065213
authorMinje Ahn <minje.ahn@samsung.com>
Tue, 29 Jan 2019 01:56:45 +0000 (10:56 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Thu, 31 Jan 2019 02:14:31 +0000 (11:14 +0900)
commit7aca7414a06971e6f1467d7a7ece8328007ca5e8
treee51264b460b8762ffd59e6971df6726e0b3a10f1
parentb6d52f1ee953b3ccbd7aaa76db1d043a44dce16b
[ACR-1348] Fix bug of media_info_insert_to_db API

When the media_info handle is returned, modify it to include the latest media information.
(In the past, if the media info you requested was in the database,
this API returned the media info without making sure it was up-to-date.)

Change-Id: I714b9e62504641e15f4c2df8e8c7d8b49cb73cd8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
include/media-svc.h
src/common/media-svc-media.c
src/common/media-svc.c
src/include/common/media-svc-media.h