aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-03-19 22:08:44 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2014-03-19 22:08:44 +1300
commit289609b483d0b6188f8536f692363eb91e38288c (patch)
treeb0014e984a3a8cbef2acf52c2d9e060172a2332f /src/org/traccar
parent9ddf8e2aeb98958d50ecb11ae6818359ade76325 (diff)
downloadtrackermap-server-289609b483d0b6188f8536f692363eb91e38288c.tar.gz
trackermap-server-289609b483d0b6188f8536f692363eb91e38288c.tar.bz2
trackermap-server-289609b483d0b6188f8536f692363eb91e38288c.zip
Uncomment atrack device id
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/AtrackProtocolDecoder.java2
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;