Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
eb14961026
1 changed files with 1 additions and 4 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue