Remove Deprecation Warnings to cancel deprecation 26/186226/5 accepted/tizen/unified/20180830.182626 accepted/tizen/unified/20180831.061035 submit/tizen/20180829.051003 submit/tizen/20180829.075844
authorlokilee73 <changjoo.lee@samsung.com>
Wed, 8 Aug 2018 07:01:38 +0000 (16:01 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 29 Aug 2018 03:08:36 +0000 (03:08 +0000)
Related API and enum
API - device_display_change_state()
power_lock_e - POWER_LOCK_DISPLAY
power_lock_e - POWER_LOCK_DISPLAY_DIM

Change-Id: I18db2bbe13877b2e4274fa50ff578cee12171497
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
include/display.h [changed mode: 0644->0755]
include/power.h [changed mode: 0644->0755]
src/display.c

old mode 100644 (file)
new mode 100755 (executable)
index 6dc41c2..b3b1c94
@@ -148,7 +148,6 @@ int device_display_get_state(display_state_e *state);
 
 
 /**
- * @deprecated Deprecated Since @if WEARABLE 3.0 @else 2.4 @endif
  * @brief Changes the display state by force.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  * @privlevel public
@@ -178,7 +177,7 @@ int device_display_get_state(display_state_e *state);
  *  ...
  * @endcode
  */
-int device_display_change_state(display_state_e state) TIZEN_DEPRECATED_API;
+int device_display_change_state(display_state_e state);
 
 
 /**
old mode 100644 (file)
new mode 100755 (executable)
index 28bfbe4..6bd135c
@@ -43,10 +43,6 @@ extern "C" {
  * <TR><TD>POWER_LOCK_DISPLAY</TD><TD>ON</TD><TD>ON(Normal)</TD></TR>
  * <TR><TD>POWER_LOCK_DISPLAY_DIM</TD><TD>ON</TD><TD>ON(Dim)</TD></TR>
  * </TABLE>
- *          The POWER_LOCK_DISPLAY and POWER_LOCK_DISPLAY_DIM types were deprecated in Tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif.\n
- *          Please use below api set instead of these types.\n
- *          int efl_util_set_window_screen_mode(Evas_Object *window, efl_util_screen_mode_e mode); \n
- *          int efl_util_get_window_screen_mode(Evas_Object *window, efl_util_screen_mode_e *mode);
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  * @remarks An application can lock the specific type.
  * @remarks These enums are mutually exclusive.
@@ -54,8 +50,8 @@ extern "C" {
  */
 typedef enum {
     POWER_LOCK_CPU, /**< CPU lock */
-    POWER_LOCK_DISPLAY, /**< Display normal lock (Deprecated since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif. Use efl_util_set_window_screen_mode() instead) */
-    POWER_LOCK_DISPLAY_DIM, /**< Display dim lock (Deprecated since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif. Use efl_util_set_window_screen_mode() instead) */
+    POWER_LOCK_DISPLAY, /**< Display normal lock */
+    POWER_LOCK_DISPLAY_DIM, /**< Display dim lock */
 } power_lock_e;
 
 
index 173c868..de915c0 100755 (executable)
@@ -244,7 +244,6 @@ int device_display_change_state(display_state_e state)
        int ret;
        static int privilege = -1;
 
-       _W("DEPRECATION WARNING: device_display_change_state() is deprecated and will be removed from next release.");
        if (check_async_call_rate() < 0) {
                _E("Rejected by too frequent calls; %d (calls per sec.) limit is violated."
                                , CHECK_RATE_THRESHOLD);