Location setting restriction to support DPM 01/67701/5 accepted/tizen/common/20160518.125042 accepted/tizen/ivi/20160518.090658 accepted/tizen/mobile/20160518.090647 accepted/tizen/tv/20160518.090644 accepted/tizen/wearable/20160518.090639 submit/tizen/20160518.045027
authorkj7.sung <kj7.sung@samsung.com>
Thu, 28 Apr 2016 05:51:55 +0000 (14:51 +0900)
committerkj7.sung <kj7.sung@samsung.com>
Thu, 12 May 2016 08:03:57 +0000 (17:03 +0900)
Signed-off-by: kj7.sung <kj7.sung@samsung.com>
Change-Id: I2bae6eec0e2f9d2433bd0eef3b452a3d92904c6f

include/location_batch.h
packaging/capi-location-manager.spec
src/location_batch.c

index 9fba862..3a66ef9 100644 (file)
@@ -89,6 +89,8 @@ int location_manager_stop_batch(location_manager_h manager);
  */
 int location_manager_foreach_location_batch(location_manager_h manager, location_batch_get_location_cb callback, void *user_data);
 
+int location_manager_enable_restriction(bool enable);
+
 /**
  * @}
  * @}
index 560e626..79b94dd 100644 (file)
@@ -1,6 +1,6 @@
 Name: capi-location-manager
 Summary: A Location Manager library in Tizen Native API
-Version: 0.7.1
+Version: 0.7.2
 Release: 1
 Group: Location/API
 License: Apache-2.0
index e586609..7017361 100644 (file)
@@ -151,3 +151,10 @@ EXPORT_API int location_manager_foreach_location_batch(location_manager_h manage
        batch = NULL;
        return LOCATIONS_ERROR_NONE;
 }
+
+EXPORT_API int location_manager_enable_restriction(bool enable)
+{
+       int ret = LOCATION_ERROR_NONE;
+       ret = location_enable_restriction(enable);
+       return __convert_error_code(ret);
+}