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

Commit ad299344 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use resolved configuration for shell transit clip rect" into tm-qpr-dev

parents 80c145dc 1e260d8b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -646,8 +646,8 @@ class Transition implements BLASTSyncEngine.TransactionReadyListener {
                if (target.asDisplayContent() != null || target.asActivityRecord() != null) {
                    t.setCrop(targetLeash, null /* crop */);
                } else {
                    // Crop to the requested bounds.
                    final Rect clipRect = target.getRequestedOverrideBounds();
                    // Crop to the resolved override bounds.
                    final Rect clipRect = target.getResolvedOverrideBounds();
                    t.setWindowCrop(targetLeash, clipRect.width(), clipRect.height());
                }
                t.setCornerRadius(targetLeash, 0);