[CodeFactor] Apply fixes

This commit is contained in:
codefactor-io 2023-01-02 11:36:14 +00:00
parent 06ef5ecdae
commit 93c777229f
No known key found for this signature in database
GPG key ID: B66B2D63282C190F

View file

@ -357,11 +357,11 @@ class InAppUpdater {
}
return false
}
fun isMiUi(): Boolean {
return !TextUtils.isEmpty(getSystemProperty("ro.miui.ui.version.name"))
}
fun getSystemProperty(propName: String): String? {
var line: String? = null
var input: BufferedReader? = null