Merge branch 'master' of https://github.com/osmandapp/Osmand
This commit is contained in:
commit
b59acdd606
1 changed files with 3 additions and 1 deletions
|
@ -109,7 +109,9 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
|
|||
@Override
|
||||
public void updateLocation(Location location) {
|
||||
showViewAngle = false;
|
||||
locationProvider = location.getProvider();
|
||||
if (location != null) {
|
||||
locationProvider = location.getProvider();
|
||||
}
|
||||
if (mapView != null) {
|
||||
RotatedTileBox tb = mapView.getCurrentRotatedTileBox();
|
||||
if (isMapLinkedToLocation() && location != null) {
|
||||
|
|
Loading…
Reference in a new issue