diff options
author | Anton Tananaev <anton@traccar.org> | 2024-04-07 07:17:09 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-04-07 07:17:09 -0700 |
commit | 9a285e59e580994dc9c3f80935f766f3dafdcd46 (patch) | |
tree | 6f3af805426b54ba044b580134398adc60c2b242 /src/main/java/org/traccar/handler/SpeedLimitHandler.java | |
parent | 204b0a020a4bd2c3d17754ba183c39ea3035e0ae (diff) | |
download | trackermap-server-9a285e59e580994dc9c3f80935f766f3dafdcd46.tar.gz trackermap-server-9a285e59e580994dc9c3f80935f766f3dafdcd46.tar.bz2 trackermap-server-9a285e59e580994dc9c3f80935f766f3dafdcd46.zip |
Fix filtering handlerv6.0
Diffstat (limited to 'src/main/java/org/traccar/handler/SpeedLimitHandler.java')
-rw-r--r-- | src/main/java/org/traccar/handler/SpeedLimitHandler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/handler/SpeedLimitHandler.java b/src/main/java/org/traccar/handler/SpeedLimitHandler.java index 604c10ca7..4c0922d01 100644 --- a/src/main/java/org/traccar/handler/SpeedLimitHandler.java +++ b/src/main/java/org/traccar/handler/SpeedLimitHandler.java @@ -40,13 +40,13 @@ public class SpeedLimitHandler extends BasePositionHandler { @Override public void onSuccess(double speedLimit) { position.set(Position.KEY_SPEED_LIMIT, speedLimit); - callback.processed(position); + callback.processed(false); } @Override public void onFailure(Throwable e) { LOGGER.warn("Speed limit provider failed", e); - callback.processed(position); + callback.processed(false); } }); } |