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

Commit 7f7b8479 authored by Robert Carr's avatar Robert Carr
Browse files

Pinned stack animation: Also clear finalClipRect.

The code calculating it doesn't understand our scaling of Surface insets
and so it clips us too small. Since we scale to the stack bounds anyway
there is no sort of "draw over other apps" risk.

Bug: 35396882
Test: Move skeleton pip activity between states, ensure there are no cut off portions during animation.
Change-Id: I973db1879dd588d829e3fe828e9350f2647cdc2c
parent dcdaaec8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1353,6 +1353,7 @@ class WindowStateAnimator {
            // expose the whole window in buffer space, and not risk extending
            // past where the system would have cropped us
            clipRect = null;
            finalClipRect = null;

            // Various surfaces in the scaled stack may resize at different times.
            // We need to ensure for each surface, that we disable transformation matrix