This commit is contained in:
GaidamakUA 2015-12-25 18:32:18 +02:00
commit b59acdd606

View file

@ -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) {