diff --git a/tests/tapl/com/android/launcher3/tapl/Background.java b/tests/tapl/com/android/launcher3/tapl/Background.java index d3177837d2..4a666b17f3 100644 --- a/tests/tapl/com/android/launcher3/tapl/Background.java +++ b/tests/tapl/com/android/launcher3/tapl/Background.java @@ -122,7 +122,9 @@ public class Background extends LauncherInstrumentation.VisibleContainer { endY = startY - swipeLength; } else { startX = getSwipeStartX(); - endX = startX - swipeLength; + // TODO(b/184059820) make horizontal swipe use swipe width not height, for the + // moment just double the swipe length. + endX = startX - swipeLength * 2; startY = endY = mLauncher.getDevice().getDisplayHeight() / 2; }