small fix
This commit is contained in:
parent
e6a34876e3
commit
57b66a1bb4
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
|
||||||
//Hardy, 2019-12-15: Inject A-GPS data if backToLocationImpl fails with no fix:
|
//Hardy, 2019-12-15: Inject A-GPS data if backToLocationImpl fails with no fix:
|
||||||
if (app.getSettings().isInternetConnectionAvailable(true)) {
|
if (app.getSettings().isInternetConnectionAvailable(true)) {
|
||||||
locationProvider.redownloadAGPS();
|
locationProvider.redownloadAGPS();
|
||||||
app.showToastMessage(R.string.unknown_location + "\n\n" + app.getString(R.string.agps_data_last_downloaded, (new SimpleDateFormat("yyyy-MM-dd HH:mm")).format(app.getSettings().AGPS_DATA_LAST_TIME_DOWNLOADED.get())));
|
app.showToastMessage(app.getString(R.string.unknown_location) + "\n\n" + app.getString(R.string.agps_data_last_downloaded, (new SimpleDateFormat("yyyy-MM-dd HH:mm")).format(app.getSettings().AGPS_DATA_LAST_TIME_DOWNLOADED.get())));
|
||||||
} else {
|
} else {
|
||||||
app.showToastMessage(R.string.unknown_location);
|
app.showToastMessage(R.string.unknown_location);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue