Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7a0c3b2b authored by Ryuichiro Chiba's avatar Ryuichiro Chiba
Browse files

Inject swipe events with fixed frequency

The current implementation of `input swipe` injects too many motion
events during the swipe simulation. This behavior is different from the
real situation and other tools such as UI Automator.
This CL adds a sleep between input events so that they are emitted with
fixed frequency (120Hz).

Bug: 373998306
Test: atest InputShellCommandTest
Test: adb shell input swipe 200 800 200 200
Test: adb shell input swipe 200 800 200 200 100
Flag: EXEMPT minor change with unit test
Change-Id: I8b0d1a387e910280da8676201797723c47567a3a
parent 0ef1067a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment