API deprecation warning message 07/86207/2 accepted/tizen/common/20160831.161815 accepted/tizen/ivi/20160831.124842 accepted/tizen/mobile/20160831.124656 accepted/tizen/tv/20160831.124720 accepted/tizen/wearable/20160831.124731 submit/tizen/20160831.044825
authorkj7.sung <kj7.sung@samsung.com>
Wed, 31 Aug 2016 05:25:29 +0000 (14:25 +0900)
committerkj7.sung <kj7.sung@samsung.com>
Wed, 31 Aug 2016 05:32:39 +0000 (14:32 +0900)
Signed-off-by: kj7.sung <kj7.sung@samsung.com>
Change-Id: I60c9fe4e55ca913af16bb3cbc13324190e46ae75

CMakeLists.txt
include/locations.h
packaging/capi-location-manager.changes
packaging/capi-location-manager.spec
src/locations.c

index db1aff2..edcb331 100755 (executable)
@@ -20,6 +20,7 @@ FOREACH(flag ${dependents_CFLAGS})
 ENDFOREACH(flag)
 
 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fvisibility=hidden -fPIC -Wall -Werror")
+#SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fvisibility=hidden -fPIC -Wall -Werror -Wno-error=deprecated-declarations")
 SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
 
 IF("${ARCH}" STREQUAL "arm")
index 6f1eba6..81c8c9a 100755 (executable)
@@ -17,6 +17,7 @@
 #ifndef __TIZEN_LOCATION_LOCATIONS_H__
 #define __TIZEN_LOCATION_LOCATIONS_H__
 
+#include <tizen.h>
 #include <tizen_type.h>
 #include <tizen_error.h>
 #include <time.h>
@@ -672,7 +673,7 @@ int location_manager_get_last_accuracy(location_manager_h manager, location_accu
  * @retval #LOCATIONS_ERROR_INVALID_PARAMETER          Invalid argument
  * @retval #LOCATIONS_ERROR_NOT_SUPPORTED                      Not supported
  */
-int location_manager_get_accessibility_state(location_accessibility_state_e *state);
+int location_manager_get_accessibility_state(location_accessibility_state_e *state) TIZEN_DEPRECATED_API;
 
 /**
  * @brief Registers a callback function to be invoked at defined interval with updated position information.
index edaa3b1..04e87c9 100644 (file)
@@ -1,3 +1,9 @@
+[Version]      capi-location-manager_0.7.3
+[Date]         18 Aug 2016
+[Title]                Change mock location behavior
+[Developer]    Kyoungjun Sung <kj7.sung@samsung.com>
+
+================================================================================
 [Version]      capi-location-manager_0.7.1
 [Date]         15 Apr 2016
 [Title]                Change batch range to support device behavior
index 79b94dd..7753586 100644 (file)
@@ -1,6 +1,6 @@
 Name: capi-location-manager
 Summary: A Location Manager library in Tizen Native API
-Version: 0.7.2
+Version: 0.7.3
 Release: 1
 Group: Location/API
 License: Apache-2.0
index ff1b7be..4a46c58 100755 (executable)
@@ -1023,6 +1023,7 @@ EXPORT_API int location_manager_get_last_accuracy(location_manager_h manager, lo
 
 EXPORT_API int location_manager_get_accessibility_state(location_accessibility_state_e *state)
 {
+       dlog_print(DLOG_WARN, LOG_TAG, "DEPRECATION WARNING: location_manager_get_accessibility_state() is deprecated and will be removed from next release.");
        LOCATIONS_LOGD("location_manager_get_accessibility_state");
        LOCATIONS_NOT_SUPPORTED_CHECK(__is_location_supported());
        LOCATIONS_NULL_ARG_CHECK(state);