feat(ui): agent features start off and live in Setup > Developer (#2550)

This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-11-12 21:36:32 -05:00
1 parent b841b232b4
commit d63193393d
42 files changed
+55 -54

No files matched your search

@@ -23,7 +23,7 @@ object AgentAccess {
fun requireCommands(context: Context) {
if (!commandsAllowed(context)) throw AgentException(
"AGENT_COMMANDS_DISABLED",
"Debugging tools are off: turn on Setup > Diagnostics > Debugging tools on the device",
"Debugging tools are off: turn on Setup > Developer > Debugging tools on the device",
)
}
@@ -7,7 +7,7 @@ import androidx.compose.runtime.setValue
import com.droiddeck.launcher.session.SessionPrefs
object AgentTab {
var shown by mutableStateOf(true)
var shown by mutableStateOf(false)
private set
val visible: Boolean get() = shown && AgentHost.available