mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
[CodeFactor] Apply fixes
This commit is contained in:
parent
06ef5ecdae
commit
93c777229f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue