Fix regression in 9a0ba186e

I was too fast to remove unused code and missed the continue.
This commit is contained in:
Daniel Martí 2015-12-08 15:20:56 +01:00
parent 3f068929e8
commit 637d3dddc4

View File

@ -358,7 +358,9 @@ public class UpdateService extends IntentService implements ProgressListener {
boolean changes = false;
boolean singleRepoUpdate = !TextUtils.isEmpty(address);
for (final Repo repo : repos) {
if (!repo.inuse) {
continue;
}
if (singleRepoUpdate && !repo.address.equals(address)) {
unchangedRepos.add(repo);
continue;