Don't log when themed icon compat parsing fails

This commit is contained in:
MM20 2023-09-08 18:23:36 +02:00
parent b54a53d5d6
commit c7f8f31d73
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -93,14 +93,11 @@ data class AdaptiveIconDrawableCompat(
)
}
} catch (e: Resources.NotFoundException) {
CrashReporter.logException(e)
return null
} catch (e: IOException) {
CrashReporter.logException(e)
return null
} catch (e: XmlPullParserException) {
CrashReporter.logException(e)
return null
return nullg
} finally {
xmlParser?.close()
}