Skip to content

Commit

Permalink
fix send_keyevent_inputt long press option
Browse files Browse the repository at this point in the history
  • Loading branch information
Jekso committed Jan 26, 2024
1 parent c36ef07 commit a8194e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added .coverage
Binary file not shown.
2 changes: 1 addition & 1 deletion adb_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ def send_keyevent_input(self, keycode: KeyCodes, long_press: bool=False) -> str:
"""
command = f'input keyevent {keycode.name}'
if long_press:
command += '--longpress'
command += ' --longpress'
return self.execute_shell_command(command)


Expand Down

0 comments on commit a8194e0

Please sign in to comment.