use TextUtils.isEmpty() - a better solution!
This commit is contained in:
parent
b6939dcce4
commit
988f5dbfdc
@ -282,7 +282,7 @@ public class RepoUpdater {
|
|||||||
* actually in the index.jar itself. If no fingerprint, just store the
|
* actually in the index.jar itself. If no fingerprint, just store the
|
||||||
* signing certificate */
|
* signing certificate */
|
||||||
boolean trustNewSigningCertificate = false;
|
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
|
// no info to check things are valid, so just Trust On First Use
|
||||||
trustNewSigningCertificate = true;
|
trustNewSigningCertificate = true;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user