fix build for now, but code needs refactoring to use map center location

This commit is contained in:
sonora 2015-01-02 17:56:59 +01:00
parent 9602d1d807
commit ed7333a94b

View file

@ -71,10 +71,7 @@ public class DashFavoritesFragment extends DashBaseFragment {
} else {
location = getLocationProvider().getLastKnownLocation();
}
//Use map center as origin if no position known
if (location == null) {
location = getMyApplication().getSettings().getLastKnownMapLocation();
}
//TODO: Sufficient to use LatLon map center as origin if no position known!
updateLocation(location);
}
setupFavorites();