Fixed bug, when Live Updates switch state was ignored when downloading Live Updates after settings dialog closed.
This commit is contained in:
parent
8a2d5c01a7
commit
fdfb81422b
1 changed files with 4 additions and 2 deletions
|
@ -214,8 +214,10 @@ public class DownloadIndexesThread {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for(IndexItem i : items) {
|
for(IndexItem item : items) {
|
||||||
indexItemDownloading.add(i);
|
if (!item.equals(currentDownloadingItem) && !indexItemDownloading.contains(item)) {
|
||||||
|
indexItemDownloading.add(item);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (currentDownloadingItem == null) {
|
if (currentDownloadingItem == null) {
|
||||||
execute(new DownloadIndexesAsyncTask());
|
execute(new DownloadIndexesAsyncTask());
|
||||||
|
|
Loading…
Reference in a new issue