Merge "Attempts fixing DismissSplitScreenByDivider flakiness" into udc-qpr-dev am: 48a3533f55
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23792384 Change-Id: I14ea6e5ed117568d04c05b4be0c714631f938fee Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user