Apply deprecation policy 27/84727/1 accepted/tizen/common/20160824.154448 accepted/tizen/ivi/20160825.050924 accepted/tizen/mobile/20160825.050834 accepted/tizen/tv/20160825.050850 accepted/tizen/wearable/20160825.050906 submit/tizen/20160824.041059
authorWootak Jung <wootak.jung@samsung.com>
Mon, 22 Aug 2016 06:49:43 +0000 (15:49 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Mon, 22 Aug 2016 06:49:43 +0000 (15:49 +0900)
Change-Id: Ia4009e83338fa1774ba5d1219f075f46c66c0439

include/telephony_call.h
packaging/capi-telephony.spec
src/telephony_call.c

index 9cb6ce5dd9b8b500c4b7f6dbdfe9597ab45526bd..6975886bd9bd925f65ff256cd2a699b1f64eee8e 100644 (file)
@@ -122,7 +122,7 @@ typedef enum {
  * @retval #TELEPHONY_ERROR_NOT_SUPPORTED     Not supported
  * @retval #TELEPHONY_ERROR_OPERATION_FAILED  Operation failed
  */
-int telephony_call_get_voice_call_state(telephony_h handle, telephony_call_state_e *call_state);
+int telephony_call_get_voice_call_state(telephony_h handle, telephony_call_state_e *call_state) TIZEN_DEPRECATED_API;
 
 /**
  * @deprecated Deprecated Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif. Use #telephony_call_get_status instead.
@@ -151,7 +151,7 @@ int telephony_call_get_voice_call_state(telephony_h handle, telephony_call_state
  * @retval #TELEPHONY_ERROR_NOT_SUPPORTED     Not supported
  * @retval #TELEPHONY_ERROR_OPERATION_FAILED  Operation failed
  */
-int telephony_call_get_video_call_state(telephony_h handle, telephony_call_state_e *call_state);
+int telephony_call_get_video_call_state(telephony_h handle, telephony_call_state_e *call_state) TIZEN_DEPRECATED_API;
 
 /**
  * @brief Gets the current value for the preferred voice call subscription.
index dba8ceb5188f15b6d8a3fb3bdb3b26380a025ecf..82797c69924f9924768e4d76e31d0b9cbaaefb06 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-telephony
 Summary:    Telephony Core API
-Version:    0.1.64
+Version:    0.1.65
 Release:    1
 Group:      System/Libraries
 License:    Apache-2.0
index 8a98a69d4441cb5e4c0f1f1a16a1e979bf99c3d7..6144abfced5519c94bfc00c6f37856d7d540b827 100644 (file)
@@ -135,6 +135,7 @@ int telephony_call_get_voice_call_state(telephony_h handle, telephony_call_state
        int ret;
        TapiHandle *tapi_h;
 
+       LOGW("DEPRECATION WARNING: telephony_call_get_voice_call_state() is deprecated and will be removed from next release. Use telephony_call_get_status() instead.");
        CHECK_TELEPHONY_SUPPORTED(TELEPHONY_FEATURE);
        CHECK_INPUT_PARAMETER(handle);
        tapi_h = ((telephony_data *)handle)->tapi_h;
@@ -164,6 +165,7 @@ int telephony_call_get_video_call_state(telephony_h handle, telephony_call_state
        int ret;
        TapiHandle *tapi_h;
 
+       LOGW("DEPRECATION WARNING: telephony_call_get_video_call_state() is deprecated and will be removed from next release. Use telephony_call_get_status() instead.");
        CHECK_TELEPHONY_SUPPORTED(TELEPHONY_FEATURE);
        CHECK_INPUT_PARAMETER(handle);
        tapi_h = ((telephony_data *)handle)->tapi_h;