aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Context.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-09-22 14:22:01 +1200
committerGitHub <noreply@github.com>2017-09-22 14:22:01 +1200
commita6fa965fd1d7fc55c891f9bba4913fcfe68b086c (patch)
treef840a542096c653d7dafc6df37645893d423d9d1 /src/org/traccar/Context.java
parent76639c6b2284a5dfc4b45c17e533788dd739bcf1 (diff)
parent36ad4ac525b8eb25ac1c2eed8c05d690754399c5 (diff)
downloadtrackermap-server-a6fa965fd1d7fc55c891f9bba4913fcfe68b086c.tar.gz
trackermap-server-a6fa965fd1d7fc55c891f9bba4913fcfe68b086c.tar.bz2
trackermap-server-a6fa965fd1d7fc55c891f9bba4913fcfe68b086c.zip
Merge pull request #3540 from Abyss777/check_valid_optional
Make check for valid in MotionEventHandler optional
Diffstat (limited to 'src/org/traccar/Context.java')
-rw-r--r--src/org/traccar/Context.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java
index 340eb742c..3b24c6460 100644
--- a/src/org/traccar/Context.java
+++ b/src/org/traccar/Context.java
@@ -258,7 +258,9 @@ public final class Context {
config.getLong("report.trip.minimalTripDuration", 300) * 1000,
config.getLong("report.trip.minimalParkingDuration", 300) * 1000,
config.getLong("report.trip.minimalNoDataDuration", 3600) * 1000,
- config.getBoolean("report.trip.useIgnition"));
+ config.getBoolean("report.trip.useIgnition"),
+ config.getBoolean("event.motion.processInvalidPositions"),
+ config.getDouble("event.motion.speedThreshold", 0.01));
}
public static void init(String[] arguments) throws Exception {