Merge "Revert "Speed up tests by injecting input events asynchronously"" into ub-launcher3-master
This commit is contained in:
committed by
Android (Google) Code Review
commit
c77a225faf
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user