Fix agent pet overlay permission and GitHub setup (#2548)

This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-11-12 22:38:22 -05:00
1 parent 827ab2d485
commit 1b732c1b65
5 files changed
+28 -35

No files matched your search

@@ -116,6 +116,10 @@ internal object AgentPet {
fun set(context: Context, on: Boolean) {
enabled = on
AgentHost.prefs(context).edit().putBoolean(KEY, on).apply()
if (on) {
allowed = PetWindows.allowed(context)
if (!allowed) requestFloating(context)
}
}
/** Opens the system page where the user lets DroidDeck draw over other apps. */