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

Commit b56c8b5c authored by Vadim Tryshev's avatar Vadim Tryshev
Browse files

Not recycling input events sent by the tests.

The docs indicate that only the system should recycle events.

Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: I76d0ed8ffce6de45f76c846df659c5a68abe3ed0
parent 770559cb
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1760,7 +1760,6 @@ public final class LauncherInstrumentation {
    private void injectEvent(InputEvent event) {
        assertTrue("injectInputEvent failed: event=" + event,
                mInstrumentation.getUiAutomation().injectInputEvent(event, true, false));
        event.recycle();
    }

    public void sendPointer(long downTime, long currentTime, int action, Point point,