Apply 1 suggestion(s) to 1 file(s)

This commit is contained in:
Glenn C 2020-10-22 07:17:37 +00:00 committed by Glenn Carremans
parent 3a36bb5c2e
commit 69fc823beb
No known key found for this signature in database
GPG Key ID: E197128A4E058CEF

View File

@ -301,7 +301,7 @@ public class IndexV1Updater extends IndexUpdater {
repo.maxage = getIntRepoValue(repoMap, "maxage");
repo.version = getIntRepoValue(repoMap, "version");
if (platformSigCache == null || platformSigCache.isEmpty()) {
if (TextUtils.isEmpty(platformSigCache) {
PackageInfo androidPackageInfo = Utils.getPackageInfo(context, "android");
platformSigCache = Utils.getPackageSig(androidPackageInfo);
}