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 {
|
} 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();
|
||||||
|
|
Loading…
Reference in a new issue