Fix bug: some triggers are missed 82/90682/1 accepted/tizen/3.0/mobile/20161015.033546 accepted/tizen/3.0/tv/20161016.004855 accepted/tizen/3.0/wearable/20161015.083309 accepted/tizen/common/20161005.165537 accepted/tizen/ivi/20161007.003933 accepted/tizen/mobile/20161007.003718 accepted/tizen/tv/20161007.003824 accepted/tizen/wearable/20161007.003901 submit/tizen/20161005.055916 submit/tizen_3.0_mobile/20161015.000003 submit/tizen_3.0_tv/20161015.000003 submit/tizen_3.0_wearable/20161015.000003
authorMinje Ahn <minje.ahn@samsung.com>
Mon, 3 Oct 2016 23:31:37 +0000 (08:31 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Mon, 3 Oct 2016 23:31:37 +0000 (08:31 +0900)
Change-Id: Iac7933548dd666286ebae35a01fb1068f98c17b0
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
packaging/libmedia-service.spec
src/common/media-svc-db-utils.c

index 8d209fa59ade212c6fc0bffd65d2c78ff404eca7..ef8277de84692d1094802a46f867bfd83281a677 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmedia-service
 Summary:    Media information service library for multimedia applications
-Version: 0.2.83
+Version: 0.2.84
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0 and public domain
index bb044989ab1168af314de7505f41a6e6c2ffb299..d74c14a646186a014727613259ed4aad73a1bb06 100755 (executable)
@@ -1596,6 +1596,18 @@ int _media_svc_create_media_table_with_id(const char *table_id, uid_t uid)
                goto ERROR;
        }
 
+       ret = _media_svc_make_table_query(MEDIA_SVC_DB_TABLE_UHD, MEDIA_SVC_DB_LIST_UHD, uid);
+       if (ret != MS_MEDIA_ERR_NONE) {
+               media_svc_error("_media_svc_make_table_query failed");
+               goto ERROR;
+       }
+
+       ret = _media_svc_make_table_query(MEDIA_SVC_DB_TABLE_PVR, MEDIA_SVC_DB_LIST_PVR, uid);
+       if (ret != MS_MEDIA_ERR_NONE) {
+               media_svc_error("_media_svc_make_table_query failed");
+               goto ERROR;
+       }
+
        _media_svc_destroy_table_query();
 
        return ret;