manager: remove outdated lkm condition

Co-authored-by: weishu <twsxtd@gmail.com>
This commit is contained in:
ShirkNeko
2025-11-06 12:58:44 +08:00
parent c8e103062a
commit 3f07ea29ae
2 changed files with 15 additions and 18 deletions

View File

@@ -20,7 +20,6 @@ object Natives {
const val MINIMAL_SUPPORTED_KERNEL = 12143
// 12040: Support disable sucompat mode
const val MINIMAL_SUPPORTED_SU_COMPAT = 12040
const val KERNEL_SU_DOMAIN = "u:r:su:s0"
const val MINIMAL_SUPPORTED_KERNEL_FULL = "v3.1.8"

View File

@@ -148,7 +148,6 @@ fun SettingScreen(navigator: DestinationsNavigator) {
)
// SU 禁用开关
if (Natives.version >= Natives.MINIMAL_SUPPORTED_SU_COMPAT) {
var isSuDisabled by rememberSaveable {
mutableStateOf(!Natives.isSuEnabled())
}
@@ -165,7 +164,6 @@ fun SettingScreen(navigator: DestinationsNavigator) {
}
}
)
}
// 禁用内核卸载开关
if (Natives.version >= Natives.MINIMAL_NEW_IOCTL_KERNEL) {