fix: flow VERSION=2 for new entries; optional ENTER gains the ADB keyevent-66 fallback; CI installs androidtvremote2 for the real-library tests (F4, F5, F6)
This commit is contained in:
1 parent
8462ad494c
commit
5f8c3290cc
6 files changed
+50
-6
No files matched your search
@@ -174,6 +174,14 @@ class AdbClientBase:
|
||||
_LOGGER.debug("ADB digit keyevent %d (%s)", 7 + int(digit), digit)
|
||||
return result is not None
|
||||
|
||||
async def send_enter_keyevent(self) -> bool:
|
||||
"""Send ENTER via `input keyevent` (KEYCODE_ENTER = 66) — the ENTER
|
||||
fallback for the §7 channel sequence."""
|
||||
result = await self.shell("input keyevent 66")
|
||||
if result is not None:
|
||||
_LOGGER.debug("ADB ENTER keyevent (66)")
|
||||
return result is not None
|
||||
|
||||
async def bring_to_foreground(self, package: str) -> bool:
|
||||
"""Bring an app to the foreground using monkey command."""
|
||||
result = await self.shell(
|
||||
|
||||
Reference in new issue
Block a user