[ACR] Modify filter keyword 28/132428/2 accepted/tizen/unified/20170608.184907 submit/tizen/20170608.081838
authorMinje Ahn <minje.ahn@samsung.com>
Mon, 5 Jun 2017 06:09:19 +0000 (15:09 +0900)
committerMinje ahn <minje.ahn@samsung.com>
Thu, 8 Jun 2017 08:12:31 +0000 (08:12 +0000)
Change-Id: Iea46ccfc7f8e9d6def26c3f2a456164c9f6ee862
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
include/media_content_type.h
include_product/media_content_type.h
src/media_content.c

index 28708e2..8407988 100755 (executable)
@@ -1296,7 +1296,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
  * @details You can use above define to set the condition of playlist filter and order keyword.
  * @since_tizen 4.0
  */
-#define PLAYLIST_ID "PLAYLIST_ID"
+#define MEDIA_PLAYLIST_ID "PLAYLIST_ID"
 
 /**
  * @brief Playlist name
@@ -1324,7 +1324,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
  * @details You can use above define to set the condition of tag filter and order keyword.
  * @since_tizen 4.0
  */
-#define TAG_ID "TAG_ID"
+#define MEDIA_TAG_ID "TAG_ID"
 
 /**
  * @brief Media count in tag
@@ -1345,7 +1345,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
  * @details You can use above define to set the condition of bookmark filter and order keyword.
  * @since_tizen 4.0
  */
-#define BOOKMARK_ID "BOOKMARK_ID"
+#define MEDIA_BOOKMARK_ID "BOOKMARK_ID"
 
 /**
  * @brief Bookmark name
index 0dd0ffd..3a208e7 100755 (executable)
@@ -1362,7 +1362,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
  * @details You can use above define to set the condition of playlist filter and order keyword.
  * @since_tizen 4.0
  */
-#define PLAYLIST_ID "PLAYLIST_ID"
+#define MEDIA_PLAYLIST_ID "PLAYLIST_ID"
 
 /**
  * @brief Playlist name
@@ -1390,7 +1390,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
  * @details You can use above define to set the condition of tag filter and order keyword.
  * @since_tizen 4.0
  */
-#define TAG_ID "TAG_ID"
+#define MEDIA_TAG_ID "TAG_ID"
 
 /**
  * @brief Media count in tag
@@ -1411,7 +1411,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
  * @details You can use above define to set the condition of bookmark filter and order keyword.
  * @since_tizen 4.0
  */
-#define BOOKMARK_ID "BOOKMARK_ID"
+#define MEDIA_BOOKMARK_ID "BOOKMARK_ID"
 
 /**
  * @brief Bookmark name
index b592b21..4d87a6c 100755 (executable)
@@ -236,7 +236,7 @@ static int __media_content_create_attr_handle(void)
        media_content_retv_if(ret != MEDIA_CONTENT_ERROR_NONE, ret);
 
        /* Playlist*/
-       ret = _media_filter_attribute_add(g_attr_handle, PLAYLIST_ID, DB_FIELD_PLAYLIST_ID);
+       ret = _media_filter_attribute_add(g_attr_handle, MEDIA_PLAYLIST_ID, DB_FIELD_PLAYLIST_ID);
        media_content_retv_if(ret != MEDIA_CONTENT_ERROR_NONE, ret);
 
        ret = _media_filter_attribute_add(g_attr_handle, PLAYLIST_NAME, DB_FIELD_PLAYLIST_NAME);
@@ -250,7 +250,7 @@ static int __media_content_create_attr_handle(void)
        media_content_retv_if(ret != MEDIA_CONTENT_ERROR_NONE, ret);
 
        /* Tag*/
-       ret = _media_filter_attribute_add(g_attr_handle, TAG_ID, DB_FIELD_TAG_ID);
+       ret = _media_filter_attribute_add(g_attr_handle, MEDIA_TAG_ID, DB_FIELD_TAG_ID);
        media_content_retv_if(ret != MEDIA_CONTENT_ERROR_NONE, ret);
 
        ret = _media_filter_attribute_add(g_attr_handle, TAG_NAME, DB_FIELD_TAG_NAME);
@@ -261,7 +261,7 @@ static int __media_content_create_attr_handle(void)
        media_content_retv_if(ret != MEDIA_CONTENT_ERROR_NONE, ret);
 
        /* Bookmark*/
-       ret = _media_filter_attribute_add(g_attr_handle, BOOKMARK_ID, DB_FIELD_BOOKMARK_ID);
+       ret = _media_filter_attribute_add(g_attr_handle, MEDIA_BOOKMARK_ID, DB_FIELD_BOOKMARK_ID);
        media_content_retv_if(ret != MEDIA_CONTENT_ERROR_NONE, ret);
 
        ret = _media_filter_attribute_add(g_attr_handle, BOOKMARK_MARKED_TIME, DB_FIELD_BOOKMARK_MARKED_TIME);