X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Flocation_batch.c;h=70173619cc5573484ead90ec6fccc82376987e91;hb=0a3a25a77ac836905cd26932c54ea9f1ce13cb38;hp=e586609b32b3871f812ec3ac1843a088b535f715;hpb=648d5dc4223cac9a268466e74bd1bfc3c8da59f8;p=platform%2Fcore%2Fapi%2Flocation-manager.git diff --git a/src/location_batch.c b/src/location_batch.c index e586609..7017361 100644 --- a/src/location_batch.c +++ b/src/location_batch.c @@ -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); +}