Merge "Revert "Speed up tests by injecting input events asynchronously"" into ub-launcher3-master

This commit is contained in:
Vadim Tryshev authored and Android (Google) Code Review committed 2020-09-17 17:57:33 +00:00
commit c77a225faf
1 file changed
+1 -1
@@ -1204,7 +1204,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();
}