/**
- * @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
* ...
* @endcode
*/
-int device_display_change_state(display_state_e state) TIZEN_DEPRECATED_API;
+int device_display_change_state(display_state_e state);
/**
* <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.
*/
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;
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);