diff --git a/F-Droid/src/org/fdroid/fdroid/RepoUpdater.java b/F-Droid/src/org/fdroid/fdroid/RepoUpdater.java index 3c4fe6219..456e898f1 100644 --- a/F-Droid/src/org/fdroid/fdroid/RepoUpdater.java +++ b/F-Droid/src/org/fdroid/fdroid/RepoUpdater.java @@ -282,7 +282,7 @@ public class RepoUpdater { * actually in the index.jar itself. If no fingerprint, just store the * signing certificate */ boolean trustNewSigningCertificate = false; - if (repo.fingerprint == null || repo.fingerprint.length() == 0) { + if (repo.fingerprint == null || TextUtils.isEmpty(repo.fingerprint)) { // no info to check things are valid, so just Trust On First Use trustNewSigningCertificate = true; } else {