Basemap download type fix
This commit is contained in:
parent
d74d3ab311
commit
117a35fd17
1 changed files with 1 additions and 1 deletions
|
@ -375,7 +375,7 @@ public class DownloadIndexesThread {
|
||||||
String dt = uiActivity.getMyApplication().getResourceManager().getIndexFileNames().get(basemap.getTargetFileName());
|
String dt = uiActivity.getMyApplication().getResourceManager().getIndexFileNames().get(basemap.getTargetFileName());
|
||||||
if (!basemapExists || !Algorithms.objectEquals(dt, basemap.getDate(dateFormat))) {
|
if (!basemapExists || !Algorithms.objectEquals(dt, basemap.getDate(dateFormat))) {
|
||||||
List<DownloadEntry> downloadEntry = basemap
|
List<DownloadEntry> downloadEntry = basemap
|
||||||
.createDownloadEntry(uiActivity.getMyApplication(), uiActivity.getType(),
|
.createDownloadEntry(uiActivity.getMyApplication(), DownloadActivityType.NORMAL_FILE,
|
||||||
new ArrayList<DownloadEntry>());
|
new ArrayList<DownloadEntry>());
|
||||||
uiActivity.getEntriesToDownload().put(basemap, downloadEntry);
|
uiActivity.getEntriesToDownload().put(basemap, downloadEntry);
|
||||||
AccessibleToast.makeText(uiActivity, R.string.basemap_was_selected_to_download,
|
AccessibleToast.makeText(uiActivity, R.string.basemap_was_selected_to_download,
|
||||||
|
|
Loading…
Reference in a new issue