manager: refine working mode designation

This commit is contained in:
rifsxd
2025-05-18 11:54:41 +06:00
parent a052af4180
commit bda62cc8a1
2 changed files with 18 additions and 4 deletions
@@ -257,12 +257,13 @@ private fun StatusCard(
val workingMode = when {
lkmMode == true -> " <LKM>"
lkmMode == false || kernelVersion.isGKI() -> " <GKI>"
lkmMode == null && kernelVersion.major < 4 -> " <U-LEGACY>"
else -> " <LEGACY>"
lkmMode == false || kernelVersion.isGKI() -> " <GKI2>"
lkmMode == null && kernelVersion.isULegacy() -> " <U-LEGACY>"
lkmMode == null && kernelVersion.isLegacy() -> " <LEGACY>"
lkmMode == null && kernelVersion.isGKI1() -> " <GKI1>"
else -> " <NON-STANDARD>"
}
val workingText =
"${stringResource(id = R.string.home_working)}$workingMode$safeMode"