feat: add managed accessibility helper with UIAutomator fallback

This commit is contained in:
somew1nd committed 2026-09-10 19:40:26 -07:00
1 parent b86c37127d
commit 52749c7f23
53 files changed
+5935 -536

No files matched your search

+6
View File
@@ -334,6 +334,12 @@ def mobile_manage_task(
"stdout_log": os.path.join(trace_dir, "stdout.log"),
"stderr_log": os.path.join(trace_dir, "stderr.log"),
}
# Which UI-hierarchy source served the run ("helper" or "uiautomator"),
# plus any mid-run switch; written by the agent once the device connects.
if status_data.get("hierarchy_backend"):
response["hierarchy_backend"] = status_data.get("hierarchy_backend")
if status_data.get("hierarchy_backend_note"):
response["hierarchy_backend_note"] = status_data.get("hierarchy_backend_note")
if status_data.get("model", "").lower() != "flash":
response["notes_dir"] = os.path.join(trace_dir, "notes")