From 16ec66e18af7c421e80591cf6c463c52980665ec Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Thu, 11 Aug 2016 09:51:40 +0500 Subject: - Added IgnitionEventHandler - Added unit test for some EventHandlers - Changed a bit IdentityManager to fit EventHandlerTest --- src/org/traccar/events/GeofenceEventHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar/events/GeofenceEventHandler.java') diff --git a/src/org/traccar/events/GeofenceEventHandler.java b/src/org/traccar/events/GeofenceEventHandler.java index a0291dcfa..6126331bd 100644 --- a/src/org/traccar/events/GeofenceEventHandler.java +++ b/src/org/traccar/events/GeofenceEventHandler.java @@ -40,7 +40,7 @@ public class GeofenceEventHandler extends BaseEventHandler { if (device == null) { return null; } - if (!Context.getDeviceManager().isLatestPosition(position) || !position.getValid()) { + if (!Context.getIdentityManager().isLatestPosition(position) || !position.getValid()) { return null; } -- cgit v1.2.3