diff options
author | Anton Tananaev <anton@traccar.org> | 2023-05-14 14:14:23 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-05-14 14:14:23 -0700 |
commit | b9b2c5c111a56acfab6ac6b5c314f6f0dcb9baec (patch) | |
tree | 45312000bd31b7ee3e56591d374bb547e112a2a7 /src/main/java/org/traccar | |
parent | 454abd506ac6e1865ece67b534805253e7e63337 (diff) | |
download | trackermap-server-b9b2c5c111a56acfab6ac6b5c314f6f0dcb9baec.tar.gz trackermap-server-b9b2c5c111a56acfab6ac6b5c314f6f0dcb9baec.tar.bz2 trackermap-server-b9b2c5c111a56acfab6ac6b5c314f6f0dcb9baec.zip |
Fix default boolean values
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r-- | src/main/java/org/traccar/config/Keys.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java index 432182fdd..162a3fe13 100644 --- a/src/main/java/org/traccar/config/Keys.java +++ b/src/main/java/org/traccar/config/Keys.java @@ -373,7 +373,8 @@ public final class Keys { */ public static final ConfigKey<Boolean> EVENT_MOTION_PROCESS_INVALID_POSITIONS = new BooleanConfigKey( "event.motion.processInvalidPositions", - List.of(KeyType.CONFIG, KeyType.DEVICE)); + List.of(KeyType.CONFIG, KeyType.DEVICE), + false); /** * If the speed is above specified value, the object is considered to be in motion. Default value is 0.01 knots. @@ -1199,7 +1200,8 @@ public final class Keys { */ public static final ConfigKey<Boolean> REPORT_TRIP_USE_IGNITION = new BooleanConfigKey( "report.trip.useIgnition", - List.of(KeyType.CONFIG, KeyType.DEVICE)); + List.of(KeyType.CONFIG, KeyType.DEVICE), + false); /** * Ignore odometer value reported by the device and use server-calculated total distance instead. This is useful @@ -1207,7 +1209,8 @@ public final class Keys { */ public static final ConfigKey<Boolean> REPORT_IGNORE_ODOMETER = new BooleanConfigKey( "report.ignoreOdometer", - List.of(KeyType.CONFIG)); + List.of(KeyType.CONFIG), + false); /** * Boolean flag to enable or disable position filtering. |