fixed miui optimization detection
This commit is contained in:
parent
64c5faf6ac
commit
e58d089d77
|
@ -15,7 +15,7 @@ object MiuiHelper {
|
||||||
return if (isMiui())
|
return if (isMiui())
|
||||||
getSystemProps("persist.sys.miui_optimization") == "0"
|
getSystemProps("persist.sys.miui_optimization") == "0"
|
||||||
else
|
else
|
||||||
false
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun getSystemProps(propname: String): String? {
|
private fun getSystemProps(propname: String): String? {
|
||||||
|
|
Loading…
Reference in New Issue