From 7729447716cb39bbf113952cf9593ae95711a141 Mon Sep 17 00:00:00 2001 From: Vadim Tryshev Date: Thu, 17 Sep 2020 17:15:08 +0000 Subject: [PATCH] Revert "Speed up tests by injecting input events asynchronously" This reverts commit 4c80053950d9bf0e6c087f430fa5388daa52a2ec. Reason for revert: Broke tests Change-Id: I3bd556b3127c0936b18a3fec8202b492d2ecb099 --- .../com/android/launcher3/tapl/LauncherInstrumentation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java index 16891e2e69..c74dea9bb5 100644 --- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java @@ -1184,7 +1184,7 @@ public final class LauncherInstrumentation { final MotionEvent event = getMotionEvent(downTime, currentTime, action, point.x, point.y); assertTrue("injectInputEvent failed", - mInstrumentation.getUiAutomation().injectInputEvent(event, false)); + mInstrumentation.getUiAutomation().injectInputEvent(event, true)); event.recycle(); }