From fc002d6133338c8b0adc1f9ea149a75be7f03e4f Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 31 Dec 2016 11:57:48 +1300 Subject: Fix a bug in geolocation initialization --- src/org/traccar/Context.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java index 46294edfa..cd6820778 100644 --- a/src/org/traccar/Context.java +++ b/src/org/traccar/Context.java @@ -256,8 +256,10 @@ public final class Context { switch (type) { case "google": geolocationProvider = new GoogleGeolocationProvider(key); + break; case "opencellid": geolocationProvider = new OpenCellIdGeolocationProvider(key); + break; default: if (key != null) { geolocationProvider = new MozillaGeolocationProvider(key); -- cgit v1.2.3