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

Commit 2b683b78 authored by Tiger Huang's avatar Tiger Huang Committed by Android (Google) Code Review
Browse files

Merge "Take fixed rotation into account when setting the rounded corner frame" into main

parents feed17b5 1223a7af
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -424,7 +424,9 @@ class InsetsPolicy {
                // Use task bounds to calculating rounded corners if the task is not floating.
                final InsetsState state = copyState ? new InsetsState(originalState)
                        : originalState;
                state.setRoundedCornerFrame(task.getBounds());
                state.setRoundedCornerFrame(token.isFixedRotationTransforming()
                        ? token.getFixedRotationTransformDisplayBounds()
                        : task.getBounds());
                return state;
            }
        }