manager: add new AID
This commit is contained in:
@@ -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"),
|
SDK_SANDBOX(1090, "sdk_sandbox", "SDK sandbox virtual UID"),
|
||||||
SECURITY_LOG_WRITER(1091, "security_log_writer", "write to security log"),
|
SECURITY_LOG_WRITER(1091, "security_log_writer", "write to security log"),
|
||||||
PRNG_SEEDER(1092, "prng_seeder", "PRNG seeder daemon"),
|
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"),
|
SHELL(2000, "shell", "adb and debug shell user"),
|
||||||
CACHE(2001, "cache", "cache access"),
|
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"),
|
WAKELOCK(3010, "wakelock", "Allow system wakelock read/write access"),
|
||||||
UHID(3011, "uhid", "Allow read/write to /dev/uhid node"),
|
UHID(3011, "uhid", "Allow read/write to /dev/uhid node"),
|
||||||
READTRACEFS(3012, "readtracefs", "Allow tracefs read"),
|
READTRACEFS(3012, "readtracefs", "Allow tracefs read"),
|
||||||
|
VIRTUALMACHINE(3013, "virtualmachine", "Allows VMs to tune for performance"),
|
||||||
|
|
||||||
EVERYBODY(9997, "everybody", "Shared external storage read/write"),
|
EVERYBODY(9997, "everybody", "Shared external storage read/write"),
|
||||||
MISC(9998, "misc", "Access to misc storage"),
|
MISC(9998, "misc", "Access to misc storage"),
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ import top.yukonga.miuix.kmp.basic.SmallTopAppBar
|
|||||||
import top.yukonga.miuix.kmp.basic.Text
|
import top.yukonga.miuix.kmp.basic.Text
|
||||||
import top.yukonga.miuix.kmp.icon.MiuixIcons
|
import top.yukonga.miuix.kmp.icon.MiuixIcons
|
||||||
import top.yukonga.miuix.kmp.icon.icons.useful.Back
|
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.theme.MiuixTheme.colorScheme
|
||||||
import top.yukonga.miuix.kmp.utils.scrollEndHaptic
|
import top.yukonga.miuix.kmp.utils.scrollEndHaptic
|
||||||
import java.io.File
|
import java.io.File
|
||||||
@@ -326,7 +326,7 @@ private fun TopBar(
|
|||||||
onClick = onSave
|
onClick = onSave
|
||||||
) {
|
) {
|
||||||
Icon(
|
Icon(
|
||||||
imageVector = MiuixIcons.Useful.Save,
|
imageVector = MiuixIcons.Useful.Move,
|
||||||
contentDescription = stringResource(id = R.string.save_log),
|
contentDescription = stringResource(id = R.string.save_log),
|
||||||
tint = colorScheme.onBackground
|
tint = colorScheme.onBackground
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
agp = "8.13.1"
|
agp = "8.13.1"
|
||||||
gson = "2.13.2"
|
gson = "2.13.2"
|
||||||
kotlin = "2.2.21"
|
kotlin = "2.2.21"
|
||||||
ksp = "2.3.2"
|
ksp = "2.3.3"
|
||||||
compose-bom = "2025.11.01"
|
compose-bom = "2025.11.01"
|
||||||
lifecycle = "2.10.0"
|
lifecycle = "2.10.0"
|
||||||
navigation = "2.9.6"
|
navigation = "2.9.6"
|
||||||
|
|||||||
Reference in New Issue
Block a user