mirror of
https://github.com/YTVanced/VancedManager
synced 2025-01-05 15:01:01 +00:00
fixed miui optimization detection
This commit is contained in:
parent
64c5faf6ac
commit
e58d089d77
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue