summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkj7.sung <kj7.sung@samsung.com>2016-08-31 14:25:29 +0900
committerkj7.sung <kj7.sung@samsung.com>2016-08-31 14:32:39 +0900
commita4f1ae5bf01e872b2e885fde85cf9d5dc255a008 (patch)
treedf4a69d13f2d4c7f7648da31fcb0d4b61b89c413
parentd75be0e9449f0e3ae949869f21e43724c884ff79 (diff)
downloadlocation-manager-a4f1ae5bf01e872b2e885fde85cf9d5dc255a008.tar.gz
location-manager-a4f1ae5bf01e872b2e885fde85cf9d5dc255a008.tar.bz2
location-manager-a4f1ae5bf01e872b2e885fde85cf9d5dc255a008.zip
Signed-off-by: kj7.sung <kj7.sung@samsung.com> Change-Id: I60c9fe4e55ca913af16bb3cbc13324190e46ae75
-rwxr-xr-xCMakeLists.txt1
-rwxr-xr-xinclude/locations.h3
-rw-r--r--packaging/capi-location-manager.changes6
-rw-r--r--packaging/capi-location-manager.spec2
-rwxr-xr-xsrc/locations.c1
5 files changed, 11 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index db1aff2..edcb331 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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")
diff --git a/include/locations.h b/include/locations.h
index 6f1eba6..81c8c9a 100755
--- a/include/locations.h
+++ b/include/locations.h
@@ -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.
diff --git a/packaging/capi-location-manager.changes b/packaging/capi-location-manager.changes
index edaa3b1..04e87c9 100644
--- a/packaging/capi-location-manager.changes
+++ b/packaging/capi-location-manager.changes
@@ -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
diff --git a/packaging/capi-location-manager.spec b/packaging/capi-location-manager.spec
index 79b94dd..7753586 100644
--- a/packaging/capi-location-manager.spec
+++ b/packaging/capi-location-manager.spec
@@ -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
diff --git a/src/locations.c b/src/locations.c
index ff1b7be..4a46c58 100755
--- a/src/locations.c
+++ b/src/locations.c
@@ -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);