Fix regression in 9a0ba186e
I was too fast to remove unused code and missed the continue.
This commit is contained in:
parent
3f068929e8
commit
637d3dddc4
@ -358,7 +358,9 @@ public class UpdateService extends IntentService implements ProgressListener {
|
|||||||
boolean changes = false;
|
boolean changes = false;
|
||||||
boolean singleRepoUpdate = !TextUtils.isEmpty(address);
|
boolean singleRepoUpdate = !TextUtils.isEmpty(address);
|
||||||
for (final Repo repo : repos) {
|
for (final Repo repo : repos) {
|
||||||
|
if (!repo.inuse) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (singleRepoUpdate && !repo.address.equals(address)) {
|
if (singleRepoUpdate && !repo.address.equals(address)) {
|
||||||
unchangedRepos.add(repo);
|
unchangedRepos.add(repo);
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user