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

Commit 04e8b101 authored by Riddle Hsu's avatar Riddle Hsu Committed by Automerger Merge Worker
Browse files

Merge "Only apply crop to task and task fragment in end transition" into tm-qpr-dev am: 0e8f4211

parents 6263a552 0e8f4211
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -643,7 +643,7 @@ class Transition implements BLASTSyncEngine.TransactionReadyListener {
                // No need to clip the display in case seeing the clipped content when during the
                // display rotation. No need to clip activities because they rely on clipping on
                // task layers.
                if (target.asDisplayContent() != null || target.asActivityRecord() != null) {
                if (target.asTaskFragment() == null) {
                    t.setCrop(targetLeash, null /* crop */);
                } else {
                    // Crop to the resolved override bounds.