diff options
author | Abyss777 <abyss@fox5.ru> | 2017-03-23 10:21:25 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-03-23 10:21:25 +0500 |
commit | ff9f34d6e685119c5d85d705d6cbd4f29149eee0 (patch) | |
tree | 26dcf9a51e267547d9275136dc6af1333fefa1ce /src/org/traccar/database | |
parent | ce809d8f053360bd820cf05175101b92a40b8109 (diff) | |
download | trackermap-server-ff9f34d6e685119c5d85d705d6cbd4f29149eee0.tar.gz trackermap-server-ff9f34d6e685119c5d85d705d6cbd4f29149eee0.tar.bz2 trackermap-server-ff9f34d6e685119c5d85d705d6cbd4f29149eee0.zip |
Move default device status to getter
Diffstat (limited to 'src/org/traccar/database')
-rw-r--r-- | src/org/traccar/database/DeviceManager.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/org/traccar/database/DeviceManager.java b/src/org/traccar/database/DeviceManager.java index ae5784b01..68e2e8262 100644 --- a/src/org/traccar/database/DeviceManager.java +++ b/src/org/traccar/database/DeviceManager.java @@ -131,7 +131,6 @@ public class DeviceManager implements IdentityManager { device.setGeofenceIds(geofenceManager.getCurrentDeviceGeofences(lastPosition)); } } - device.setStatus(Device.STATUS_OFFLINE); } } for (Iterator<Long> iterator = devicesById.keySet().iterator(); iterator.hasNext();) { |