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

Commit d2ee9c39 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

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

parents 064bb0a7 ad299344
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);