diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-10 09:43:31 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-10 09:43:31 -0700 |
commit | 18fa5d9b7a234638183cd773dcb49987d51cc381 (patch) | |
tree | 3b634744b9b1d7bd6c27d1192ba008cb7eb1173b /src | |
parent | fe61a79b37a2de3bc435890e5cca43ac05fc598c (diff) | |
download | trackermap-server-18fa5d9b7a234638183cd773dcb49987d51cc381.tar.gz trackermap-server-18fa5d9b7a234638183cd773dcb49987d51cc381.tar.bz2 trackermap-server-18fa5d9b7a234638183cd773dcb49987d51cc381.zip |
Special watch prefix
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/traccar/protocol/WatchProtocolEncoder.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/WatchProtocolEncoder.java b/src/main/java/org/traccar/protocol/WatchProtocolEncoder.java index f1904ea4d..14ebe2852 100644 --- a/src/main/java/org/traccar/protocol/WatchProtocolEncoder.java +++ b/src/main/java/org/traccar/protocol/WatchProtocolEncoder.java @@ -67,6 +67,9 @@ public class WatchProtocolEncoder extends StringProtocolEncoder implements Strin if (decoder != null) { hasIndex = decoder.getHasIndex(); manufacturer = decoder.getManufacturer(); + if (manufacturer.equals("3G")) { + manufacturer = "SG"; + } } } |