Merge "Attempts fixing DismissSplitScreenByDivider flakiness" into udc-qpr-dev

This commit is contained in:
TreeHugger Robot
2023-06-27 13:44:17 +00:00
committed by Android (Google) Code Review

View File

@@ -326,14 +326,14 @@ internal object SplitScreenUtils {
dividerBar.drag( dividerBar.drag(
Point( Point(
if (dragToRight) { if (dragToRight) {
displayBounds.width * 4 / 5 displayBounds.right
} else { } else {
displayBounds.width * 1 / 5 displayBounds.left
}, },
if (dragToBottom) { if (dragToBottom) {
displayBounds.height * 4 / 5 displayBounds.bottom
} else { } else {
displayBounds.height * 1 / 5 displayBounds.top
} }
) )
) )