+[Version] maps-plugin-here_0.3.8
+[Date] 23 Sep 2016
+[Title] Fixed Svace issues
+[Developer] Seechan Kim <cbible.kim@samsung.com>
+
[Version] maps-plugin-here_0.3.7
[Date] 13 Sep 2016
[Title] Fixed to allow setting distance to 0 when searching places
HereView *vh = NULL, *ovh = NULL;
vh = new HereView();
if (!vh) return HERE_ERROR_OUT_OF_MEMORY;
- maps_view_get_maps_plugin_view_handle(hView, (void**)&ovh);
+ int error = maps_view_get_maps_plugin_view_handle(hView, (void**)&ovh);
maps_view_set_maps_plugin_view_handle(hView, vh);
- if (ovh)
+ if (error == HERE_ERROR_NONE && ovh)
delete ovh;
return vh->init(hView, pCbFunc);
}
int HerePluginCheckUC(const char *provider, maps_service_request_user_consent_cb pCbFunc, void *user_data)
{
- heremaps_uc_cb_data *uc_data = (heremaps_uc_cb_data *)g_malloc0(sizeof(heremaps_uc_cb_data));
- uc_data->provider = provider;
- uc_data->pCbFunc = pCbFunc;
- uc_data->user_data = user_data;
-
int ret = HEREMAPS_UC_DBUS_ERROR_NONE;
bool agreed = heremaps_check_agreement();
if (agreed != TRUE) {
+ heremaps_uc_cb_data *uc_data = (heremaps_uc_cb_data *)g_malloc0(sizeof(heremaps_uc_cb_data));
+ if (!uc_data)
+ return HERE_ERROR_OUT_OF_MEMORY;
+ uc_data->provider = provider;
+ uc_data->pCbFunc = pCbFunc;
+ uc_data->user_data = user_data;
+
if (vconf_notify_key_changed(VCONFKEY_LOCATION_HEREMAPS_CONSENT, _heremaps_consent_changed_cb, uc_data) < 0) {
MAPS_LOGD("Unable to register a vconf changed cb to VCONFKEY_LOCATION_HEREMAPS_CONSENT");
+ g_free(uc_data);
return HERE_ERROR_SERVICE_NOT_AVAILABLE;
}
MAPS_LOGD("heremaps_uc_dbus_launch_receiver is called");
hereCoord = GeoCoordinates(dLatitude, dLongitude);
if (!HereUtils::IsValid(hereCoord))
- return HERE_ERROR_INVALID_PARAMETER;
+ return false;
GeoCoordinateList *pList =(GeoCoordinateList *) user_data;
pList->push_back(hereCoord);
/* Finding maps_place_h which is already pending since DiscoverReply */
PlaceList::iterator it;
for (it = m_PlaceList.begin(); it != m_PlaceList.end(); it++) {
+ placeId = NULL;
if (maps_place_get_id(*it, &placeId) == MAPS_ERROR_NONE) {
placeIdLen = strlen(placeId);
if(!herePlace.GetPlaceId().compare(0, placeIdLen, placeId)) {
if (__sfc && __ctx)
evas_gl_make_current(__gl, __sfc, __ctx);
- if (__sfc)
+ if (__sfc) {
evas_object_image_native_surface_set(__img, NULL);
evas_gl_surface_destroy(__gl, __sfc);
+ }
if (__ctx)
evas_gl_context_destroy(__gl, __ctx);