Revert "Add description for deprecation" 84/83184/1
authorMinje ahn <minje.ahn@samsung.com>
Tue, 9 Aug 2016 09:58:31 +0000 (02:58 -0700)
committerMinje ahn <minje.ahn@samsung.com>
Tue, 9 Aug 2016 09:58:31 +0000 (02:58 -0700)
This reverts commit 5169444c3ebb63ac20da4e797fd6c074e2034fb3.

Change-Id: I120c1d3a67264dc2bae883021a3a15bcca7dbead

include/media_content.h
include/media_info_private.h
include_product/media_content.h
include_product/media_info_private.h
src/media_content.c

index 4cf4140..6313fec 100755 (executable)
@@ -192,7 +192,7 @@ int media_content_cancel_scan_folder(const char *path);
  * @see media_content_db_update_cb()
  * @see media_content_unset_db_updated_cb()
  */
-int media_content_set_db_updated_cb(media_content_db_update_cb callback, void *user_data) DEPRECATED_API;
+int media_content_set_db_updated_cb(media_content_db_update_cb callback, void *user_data);
 
 /**
  * @deprecated Deprecated since 3.0. Use media_content_remove_db_updated_cb() instead.
@@ -211,7 +211,7 @@ int media_content_set_db_updated_cb(media_content_db_update_cb callback, void *u
  *
  * @see media_content_set_db_updated_cb()
  */
-int media_content_unset_db_updated_cb(void) DEPRECATED_API;
+int media_content_unset_db_updated_cb(void);
 
 /**
  * @brief Subscribes notifications of the media DB change.
index 9204c93..26e87dc 100755 (executable)
@@ -794,10 +794,6 @@ int _media_filter_attribute_option_generate(attribute_h attr, filter_h filter, c
                        } \
                } while (0)
 
-#define media_content_warn(fmt, arg...) do { \
-                       LOGW(FONT_COLOR_GREEN"[%d]"fmt"", media_content_gettid(), ##arg);         \
-               } while (0)
-
 #define media_content_debug(fmt, arg...) do { \
                        LOGD(FONT_COLOR_RESET"[%d]"fmt"", media_content_gettid(), ##arg);     \
                } while (0)
index d7e2b71..010fe29 100755 (executable)
@@ -194,7 +194,7 @@ int media_content_cancel_scan_folder(const char *path);
  * @see media_content_db_update_cb()
  * @see media_content_unset_db_updated_cb()
  */
-int media_content_set_db_updated_cb(media_content_db_update_cb callback, void *user_data) DEPRECATED_API;
+int media_content_set_db_updated_cb(media_content_db_update_cb callback, void *user_data);
 
 /**
  * @deprecated Deprecated since 3.0. Use media_content_remove_db_updated_cb() instead.
@@ -213,7 +213,7 @@ int media_content_set_db_updated_cb(media_content_db_update_cb callback, void *u
  *
  * @see media_content_set_db_updated_cb()
  */
-int media_content_unset_db_updated_cb(void) DEPRECATED_API;
+int media_content_unset_db_updated_cb(void);
 
 /**
  * @brief Subscribes notifications of the media DB change.
index e1f79c3..bc1abfc 100755 (executable)
@@ -1017,10 +1017,6 @@ GMutex* _content_get_db_mutex(void);
                        } \
                } while (0)
 
-#define media_content_warn(fmt, arg...) do { \
-                       LOGW(FONT_COLOR_GREEN"[%d]"fmt"", media_content_gettid(), ##arg);     \
-               } while (0)
-
 #define media_content_debug(fmt, arg...) do { \
                        LOGD(FONT_COLOR_RESET"[%d]"fmt"", media_content_gettid(), ##arg);     \
                } while (0)
index 69dad9a..d3f6a89 100755 (executable)
@@ -1363,7 +1363,6 @@ void _media_content_db_update_noti_cb(
 int media_content_set_db_updated_cb(media_content_db_update_cb callback, void *user_data)
 {
        int ret = MEDIA_CONTENT_ERROR_NONE;
-       media_content_warn("DEPRECATION WARNING: media_content_set_db_updated_cb() is deprecated and will be removed from next release. Use media_content_add_db_updated_cb() instead.");
 
        media_content_retvm_if(callback == NULL, MEDIA_CONTENT_ERROR_INVALID_PARAMETER, "Invalid callback");
        media_content_retvm_if(g_noti_info != NULL, MEDIA_CONTENT_ERROR_INVALID_OPERATION, "Noti callback is already set");
@@ -1382,7 +1381,6 @@ int media_content_set_db_updated_cb(media_content_db_update_cb callback, void *u
 int media_content_unset_db_updated_cb(void)
 {
        int ret = MEDIA_CONTENT_ERROR_NONE;
-       media_content_warn("DEPRECATION WARNING: media_content_unset_db_updated_cb() is deprecated and will be removed from next release. Use media_content_remove_db_updated_cb() instead.");
 
        SAFE_FREE(g_noti_info);
        ret = media_db_update_unsubscribe();