This commit is contained in:
sonora 2015-01-02 18:25:52 +01:00
parent 112d8db27c
commit a1f1211dcf

View file

@ -72,7 +72,7 @@ public class DashFavoritesFragment extends DashBaseFragment {
location = new LatLon(getMyApplication().getLocationProvider().getFirstTimeRunDefaultLocation().getLatitide(), getMyApplication().getLocationProvider().getFirstTimeRunDefaultLocation().getLongitude()); location = new LatLon(getMyApplication().getLocationProvider().getFirstTimeRunDefaultLocation().getLatitide(), getMyApplication().getLocationProvider().getFirstTimeRunDefaultLocation().getLongitude());
} else { } else {
//location = getLocationProvider().getLastKnownLocation(); //location = getLocationProvider().getLastKnownLocation();
location = new LatLon(getLocationProvider().getLastKnownLocation().getLatitude(), getLocationProvider().getLastKnownLocation().getLongitude()) location = new LatLon(getLocationProvider().getLastKnownLocation().getLatitude(), getLocationProvider().getLastKnownLocation().getLongitude());
} }
if (location == null) { if (location == null) {
location = getMyApplication().getSettings().getLastKnownMapLocation(); location = getMyApplication().getSettings().getLastKnownMapLocation();