fix defining driving region 2 #7668
This commit is contained in:
parent
e5ca877802
commit
d0aaddf28c
1 changed files with 1 additions and 0 deletions
|
@ -168,6 +168,7 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
|
||||||
if (settings.DRIVING_REGION_AUTOMATIC.get() && !drivingRegionUpdated && !app.isApplicationInitializing()) {
|
if (settings.DRIVING_REGION_AUTOMATIC.get() && !drivingRegionUpdated && !app.isApplicationInitializing()) {
|
||||||
drivingRegionUpdated = true;
|
drivingRegionUpdated = true;
|
||||||
detectDrivingRegion(new LatLon(location.getLatitude(), location.getLongitude()));
|
detectDrivingRegion(new LatLon(location.getLatitude(), location.getLongitude()));
|
||||||
|
app.getRoutingHelper().setLastStartingLocation(location);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (mapView != null) {
|
if (mapView != null) {
|
||||||
|
|
Loading…
Reference in a new issue