Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0395d39c authored by Chilun Huang's avatar Chilun Huang
Browse files

Correct wrong drag destination in dragDividerToDismissSplit

Correct wrong drag destination in dragDividerToDismissSplit

Bug: 231399943
Test: atest WMShellFlickerTests:DismissSplitScreenByDivider
Change-Id: Iec102381ebb1f2d7da66b8f479d0734c45a5ba73
parent 42efa497
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -228,7 +228,7 @@ class SplitScreenHelper(
                ?.layerStackSpace
                ?: error("Display not found")
            val dividerBar = device.wait(Until.findObject(dividerBarSelector), TIMEOUT_MS)
            dividerBar.drag(Point(displayBounds.width, displayBounds.width))
            dividerBar.drag(Point(displayBounds.width * 4 / 5, displayBounds.height * 4 / 5))
        }
    }
}