diff options
author | Anton Tananaev <anton@traccar.org> | 2023-05-09 08:23:16 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-05-09 08:23:16 -0700 |
commit | d797671b2ce6fb70ac868bb96f87be8b2a85e4f9 (patch) | |
tree | 3eddd7e4b86d8ebd24bd7758807bb17f4aacbd54 /src/main/java/org/traccar/protocol | |
parent | 4c57f717f678969a46d9d84538a3116018dce9c1 (diff) | |
download | trackermap-server-d797671b2ce6fb70ac868bb96f87be8b2a85e4f9.tar.gz trackermap-server-d797671b2ce6fb70ac868bb96f87be8b2a85e4f9.tar.bz2 trackermap-server-d797671b2ce6fb70ac868bb96f87be8b2a85e4f9.zip |
Fix unit tests
Diffstat (limited to 'src/main/java/org/traccar/protocol')
-rw-r--r-- | src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java b/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java index fcbb55043..05e2fb8cc 100644 --- a/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java @@ -913,6 +913,7 @@ public class HuabaoProtocolDecoder extends BaseProtocolDecoder { } getLastLocation(position, time); decodeCoordinates(position, buf); + position.setTime(time); break; case 0x02: count = buf.readUnsignedByte(); @@ -925,6 +926,7 @@ public class HuabaoProtocolDecoder extends BaseProtocolDecoder { } getLastLocation(position, time); decodeCoordinates(position, buf); + position.setTime(time); break; case 0x03: count = buf.readUnsignedByte(); @@ -956,6 +958,7 @@ public class HuabaoProtocolDecoder extends BaseProtocolDecoder { } getLastLocation(position, time); decodeCoordinates(position, buf); + position.setTime(time); break; case 0x0B: if (buf.readUnsignedByte() > 0) { |