mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fix geofence update issue
This commit is contained in:
parent
4f2d2f03ce
commit
83236eb3ac
@ -711,7 +711,8 @@ public class GeoLocationBasedServiceImpl implements GeoLocationBasedService {
|
||||
geofenceData.setLatitude(geofenceWrapper.getLatitude());
|
||||
geofenceData.setLongitude(geofenceWrapper.getLongitude());
|
||||
geofenceData.setRadius(geofenceWrapper.getRadius());
|
||||
|
||||
geofenceData.setFenceShape(geofenceWrapper.getFenceShape());
|
||||
geofenceData.setGeoJson(geofenceWrapper.getGeoJson());
|
||||
GeoLocationProviderService geoService = DeviceMgtAPIUtils.getGeoService();
|
||||
if (!geoService.updateGeofence(geofenceData, fenceId)) {
|
||||
String msg = "No valid Geofence found for ID " + fenceId;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user