mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 01:06:21 +01:00
Fix warnings
This commit is contained in:
parent
bbb9eb14be
commit
d2f10bc290
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class SelfSignedCertManager {
|
|||
fun readAllCerts(context: Context): List<Pair<CertInfo, Certificate>> {
|
||||
val products = ArrayList<Pair<CertInfo, Certificate>>()
|
||||
val certDir = openCertsDir(context)
|
||||
val certFiles = certDir.listFiles()
|
||||
val certFiles = certDir.listFiles()!!
|
||||
val factory = CertificateFactory.getInstance("X.509")
|
||||
for (f in certFiles) {
|
||||
if (f.name.endsWith(".json")) {
|
||||
|
|
Loading…
Reference in a new issue