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

Commit 170870c8 authored by Omar Elmekkawy's avatar Omar Elmekkawy Committed by Android (Google) Code Review
Browse files

Merge "Apply end bounds to all leashes on tiling animation end." into main

parents aee7f264 1822ca3f
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -421,12 +421,7 @@ class DesktopTilingWindowDecoration(
        val rightTiledTask = rightTaskResizingHelper ?: return false
        for (change in info.getChanges()) {
            val sc: SurfaceControl = change.getLeash()
            val endBounds =
                if (change.taskInfo?.taskId == leftTiledTask.taskInfo.taskId) {
                    leftTiledTask.bounds
                } else {
                    rightTiledTask.bounds
                }
            val endBounds = change.endAbsBounds
            startTransaction.setWindowCrop(sc, endBounds.width(), endBounds.height())
            finishTransaction.setWindowCrop(sc, endBounds.width(), endBounds.height())
        }