fix: the Debugging tools hint points to Setup > Diagnostics (#725)

This commit is contained in:
Kirk authored and GitHub committed 2026-10-13 15:01:40 -04:00
1 parent fc9d4d0646
commit 6e5be862cd
5 files changed
+13 -5

No files matched your search

+1 -1
View File
@@ -300,7 +300,7 @@ def start_session(adb: str, serial: str, request: dict) -> dict:
def require_commands(adb: str, serial: str) -> dict:
access = checked(provider_call(adb, serial, "access"), "ACCESS_FAILED")
if access.get("commands") is not True:
raise ControlError("Debugging tools are off: turn on Setup > Session > Debugging tools on the device",
raise ControlError("Debugging tools are off: turn on Setup > Diagnostics > Debugging tools on the device",
"AGENT_COMMANDS_DISABLED")
return access