summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjomui <jongmun.woo@samsung.com>2017-08-23 03:05:20 +0000
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>2017-08-23 03:05:20 +0000
commitcb80d021a94c8e1513e9051a2223fb01671e3341 (patch)
tree6892a7332a01db26a0f9343961a4cae8512fdf11
parentc1d3bbbf37be20be54dfe0d3d443524ceb17107c (diff)
parentddc049d30897aef9ecad47e64db5d4f2adc3fc2d (diff)
downloadmaps-plugin-mapzen-cb80d021a94c8e1513e9051a2223fb01671e3341.tar.gz
maps-plugin-mapzen-cb80d021a94c8e1513e9051a2223fb01671e3341.tar.bz2
maps-plugin-mapzen-cb80d021a94c8e1513e9051a2223fb01671e3341.zip
-rw-r--r--packaging/maps-plugin-mapzen.spec2
-rw-r--r--src/mapzen_plugin.c14
2 files changed, 15 insertions, 1 deletions
diff --git a/packaging/maps-plugin-mapzen.spec b/packaging/maps-plugin-mapzen.spec
index 3cea259..a0463ce 100644
--- a/packaging/maps-plugin-mapzen.spec
+++ b/packaging/maps-plugin-mapzen.spec
@@ -1,6 +1,6 @@
Name: maps-plugin-mapzen
Summary: Tizen Mapzen Maps Plug-in Library
-Version: 0.0.3
+Version: 0.0.4
Release: 1
Group: Location/Libraries
License: Apache-2.0 and MIT License
diff --git a/src/mapzen_plugin.c b/src/mapzen_plugin.c
index 702d75a..6bd9124 100644
--- a/src/mapzen_plugin.c
+++ b/src/mapzen_plugin.c
@@ -1870,3 +1870,17 @@ EXPORT_API int maps_plugin_request_user_consent(const char *provider, maps_servi
callback(true, provider, user_data);
return MAPS_ERROR_NONE;
}
+
+EXPORT_API int maps_plugin_request_user_consent_with_handle(maps_service_request_user_consent_with_handle_cb callback, void *user_data)
+{
+ MAPS_LOGD("maps_plugin_request_user_consent_with_handle. Mapzen plugin always gives user consent.");
+ callback(true, user_data);
+ return MAPS_ERROR_NONE;
+}
+
+EXPORT_API int maps_plugin_get_user_consent(bool *consent)
+{
+ MAPS_LOGD("maps_plugin_get_user_consent. Mapzen plugin always gives user consent.");
+ *consent = true;
+ return MAPS_ERROR_NONE;
+} \ No newline at end of file