Merge "Cleanup tapl test workaround" into tm-dev

This commit is contained in:
TreeHugger Robot
2022-04-28 12:51:48 +00:00
committed by Android (Google) Code Review
@@ -389,8 +389,7 @@ public final class Workspace extends Home {
// Since the destination can be on another page, we need to drag to the edge first
// until we reach the target page
while (targetDest.x > displayX || targetDest.x < 0) {
// TODO: b/219919285
int edgeX = targetDest.x > 0 ? displayX - 1 : 1;
int edgeX = targetDest.x > 0 ? displayX : 0;
Point screenEdge = new Point(edgeX, targetDest.y);
Point finalDragStart = dragStart;
executeAndWaitForPageScroll(launcher,