commit | b56c8b5c72c32a631fd9296d54bafd6dfcb9bee3 | [log] [tgz] |
---|---|---|
author | Vadim Tryshev <vadimt@google.com> | Fri Sep 29 15:39:43 2023 -0700 |
committer | Vadim Tryshev <vadimt@google.com> | Fri Sep 29 15:39:43 2023 -0700 |
tree | 4c1f649d9fdf70c6db14fc25a96db476df4d318c | |
parent | 770559cb6ec30a37a3383f1c5dfb7770d92585e7 [diff] |
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
diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java index 202c078..a580634 100644 --- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
@@ -1760,7 +1760,6 @@ 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,