SDK Updater: fix wrong error when unable to get repository.xml
BUG 2095530 Change-Id: I19622378b8da049f1c3416b8e0951ecc1f7475f0
This commit is contained in:
@@ -208,7 +208,7 @@ public class RepoSourcesAdapter {
|
||||
packages = null;
|
||||
}
|
||||
|
||||
if (packages != null && source.getFetchError() != null) {
|
||||
if (packages == null && source.getFetchError() != null) {
|
||||
// Return a dummy entry to display the fetch error
|
||||
return new Object[] { new RepoSourceError(source) };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user