diff --git a/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java b/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java index 8c0174ce73..1380624d42 100644 --- a/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java +++ b/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java @@ -526,7 +526,7 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest { @Test @PortraitLandscape - @ScreenRecordRule.ScreenRecord // TODO(b/396447643): Remove screen record. + @ScreenRecordRule.ScreenRecord // TODO(b/412766455): Remove screen record. public void testDismissCancel() throws Exception { startTestAppsWithCheck(); Overview overview = mLauncher.goHome().switchToOverview(); diff --git a/tests/tapl/com/android/launcher3/tapl/OverviewTask.java b/tests/tapl/com/android/launcher3/tapl/OverviewTask.java index d27e9a03de..0579a0767b 100644 --- a/tests/tapl/com/android/launcher3/tapl/OverviewTask.java +++ b/tests/tapl/com/android/launcher3/tapl/OverviewTask.java @@ -214,7 +214,7 @@ public final class OverviewTask { final Rect taskBounds = mLauncher.getVisibleBounds(mTask); final int centerX = taskBounds.centerX(); - final int centerY = taskBounds.bottom - 1; + final int centerY = taskBounds.centerY(); final int endCenterY = centerY - (taskBounds.height() / 4); mLauncher.executeAndWaitForLauncherEvent( // Set slowDown to true so we do not fling the task at the end of the drag, as