Fix route simulation in background

This commit is contained in:
max-klaus 2019-08-13 19:17:16 +03:00
parent 7586ac2c48
commit 1bce068d12

View file

@ -761,6 +761,9 @@ public class OsmAndLocationProvider implements SensorEventListener {
public void setLocationFromService(net.osmand.Location location, boolean continuous) {
if (locationSimulation.isRouteAnimating()) {
return;
}
// if continuous notify about lost location
if (continuous) {
scheduleCheckIfGpsLost(location);