diff options
Diffstat (limited to 'src/org/traccar/LocationProviderHandler.java')
-rw-r--r-- | src/org/traccar/LocationProviderHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/LocationProviderHandler.java b/src/org/traccar/LocationProviderHandler.java index c59427474..3c0fcf522 100644 --- a/src/org/traccar/LocationProviderHandler.java +++ b/src/org/traccar/LocationProviderHandler.java @@ -45,7 +45,7 @@ public class LocationProviderHandler implements ChannelUpstreamHandler { Object message = e.getMessage(); if (message instanceof Position) { final Position position = (Position) message; - if (position.getOutdated() || (processInvalidPositions && !position.getValid())) { + if (position.getOutdated() || processInvalidPositions && !position.getValid()) { locationProvider.getLocation(position.getAttributes(), new LocationProvider.LocationProviderCallback() { @Override public void onSuccess(double latitude, double longitude) { |