Fix route simulation in background

This commit is contained in:
max-klaus 2019-08-13 19:17:16 +03:00
parent e11ee96e6a
commit e04a63987c

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);