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;
|
||||
}
|
||||
}
|
||||
for(IndexItem i : items) {
|
||||
indexItemDownloading.add(i);
|
||||
for(IndexItem item : items) {
|
||||
if (!item.equals(currentDownloadingItem) && !indexItemDownloading.contains(item)) {
|
||||
indexItemDownloading.add(item);
|
||||
}
|
||||
}
|
||||
if (currentDownloadingItem == null) {
|
||||
execute(new DownloadIndexesAsyncTask());
|
||||
|
|
Loading…
Reference in a new issue