Commit 39ee5181 authored by Bartek Fabiszewski's avatar Bartek Fabiszewski
Browse files

GPS rollover fix is not applied in case of single way points

parent d03a3aab
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -185,6 +185,9 @@ class LoggerTask implements LocationListener, Runnable {
    @Override
    public void onLocationChanged(@NonNull Location location) {
        if (Logger.DEBUG) { Log.d(TAG, "[location changed: " + location + "]"); }

        LocationHelper.handleRolloverBug(location);

        if (hasRequiredAccuracy(location)) {
            this.location = location;
            quitLoop();