diff options
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/protocol/AtrackProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/AtrackProtocolDecoder.java b/src/org/traccar/protocol/AtrackProtocolDecoder.java index 3ec597978..3dbd214d9 100644 --- a/src/org/traccar/protocol/AtrackProtocolDecoder.java +++ b/src/org/traccar/protocol/AtrackProtocolDecoder.java @@ -80,7 +80,7 @@ public class AtrackProtocolDecoder extends BaseProtocolDecoder { long rawId = buf.readLong(); String id = String.valueOf(rawId); try { - deviceId = 1;//getDataManager().getDeviceByImei(id).getId(); + deviceId = getDataManager().getDeviceByImei(id).getId(); } catch(Exception error) { Log.warning("Unknown device - " + id); return null; |