Correct wrong drag destination in dragDividerToDismissSplit
Correct wrong drag destination in dragDividerToDismissSplit Bug: 231399943 Test: atest WMShellFlickerTests:DismissSplitScreenByDivider Change-Id: Iec102381ebb1f2d7da66b8f479d0734c45a5ba73
This commit is contained in:
@@ -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))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user