diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java index 6cd1061072..22833ec16d 100644 --- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java @@ -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(); }