feat(android): add native controls and continuous multi-touch
This commit is contained in:
1 parent
3dd96078db
commit
4b12ae7728
70 files changed
+13105
-179
No files matched your search
@@ -275,6 +275,15 @@ class FlashRunner:
|
||||
from artemis.mcp.action_manifest import filter_declarations
|
||||
|
||||
tools = filter_declarations(tools, actuator, "flash")
|
||||
else:
|
||||
from artemis.mcp.native_actions import NATIVE_ACTIONS, native_tools_for_capabilities
|
||||
|
||||
native = getattr(
|
||||
getattr(self.ctx, "ui_adb_client", None), "native_capabilities", frozenset()
|
||||
)
|
||||
native = native if isinstance(native, frozenset) else frozenset()
|
||||
supported_native = native_tools_for_capabilities(native)
|
||||
tools = [t for t in tools if t.name not in NATIVE_ACTIONS or t.name in supported_native]
|
||||
if getattr(self.ctx, "plugins", None):
|
||||
tools.extend(self.ctx.plugins.declarations())
|
||||
tools.append(PROGRESS_TOOL)
|
||||
|
||||
Reference in new issue
Block a user