Fix crash at MapViewTrackingUtilities

This commit is contained in:
Alexey Kulish 2015-12-25 19:31:50 +03:00
parent b40e45b627
commit 55e6dfaf4a

View file

@ -109,7 +109,9 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
@Override
public void updateLocation(Location location) {
showViewAngle = false;
if (location != null) {
locationProvider = location.getProvider();
}
if (mapView != null) {
RotatedTileBox tb = mapView.getCurrentRotatedTileBox();
if (isMapLinkedToLocation() && location != null) {