manager: add new AID

This commit is contained in:
YuKongA
2025-11-27 19:55:42 +08:00
committed by shirkneko
parent 45ea8455fc
commit a98a718d61
3 changed files with 7 additions and 3 deletions

View File

@@ -103,6 +103,9 @@ enum class Groups(val gid: Int, val display: String, val desc: String) {
SDK_SANDBOX(1090, "sdk_sandbox", "SDK sandbox virtual UID"),
SECURITY_LOG_WRITER(1091, "security_log_writer", "write to security log"),
PRNG_SEEDER(1092, "prng_seeder", "PRNG seeder daemon"),
UPROBESTATS(1093, "uprobestats", "uid for uprobestats"),
CROS_EC(1094, "cros_ec", "uid for accessing ChromeOS EC (cros_ec)"),
MMD(1095, "mmd", "uid for memory management daemon"),
SHELL(2000, "shell", "adb and debug shell user"),
CACHE(2001, "cache", "cache access"),
@@ -122,6 +125,7 @@ enum class Groups(val gid: Int, val display: String, val desc: String) {
WAKELOCK(3010, "wakelock", "Allow system wakelock read/write access"),
UHID(3011, "uhid", "Allow read/write to /dev/uhid node"),
READTRACEFS(3012, "readtracefs", "Allow tracefs read"),
VIRTUALMACHINE(3013, "virtualmachine", "Allows VMs to tune for performance"),
EVERYBODY(9997, "everybody", "Shared external storage read/write"),
MISC(9998, "misc", "Access to misc storage"),

View File

@@ -71,7 +71,7 @@ import top.yukonga.miuix.kmp.basic.SmallTopAppBar
import top.yukonga.miuix.kmp.basic.Text
import top.yukonga.miuix.kmp.icon.MiuixIcons
import top.yukonga.miuix.kmp.icon.icons.useful.Back
import top.yukonga.miuix.kmp.icon.icons.useful.Save
import top.yukonga.miuix.kmp.icon.icons.useful.Move
import top.yukonga.miuix.kmp.theme.MiuixTheme.colorScheme
import top.yukonga.miuix.kmp.utils.scrollEndHaptic
import java.io.File
@@ -326,7 +326,7 @@ private fun TopBar(
onClick = onSave
) {
Icon(
imageVector = MiuixIcons.Useful.Save,
imageVector = MiuixIcons.Useful.Move,
contentDescription = stringResource(id = R.string.save_log),
tint = colorScheme.onBackground
)

View File

@@ -2,7 +2,7 @@
agp = "8.13.1"
gson = "2.13.2"
kotlin = "2.2.21"
ksp = "2.3.2"
ksp = "2.3.3"
compose-bom = "2025.11.01"
lifecycle = "2.10.0"
navigation = "2.9.6"