Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-01-02 17:57:17 +01:00
commit eb14961026

View file

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