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

Commit 18611d14 authored by Robert Carr's avatar Robert Carr Committed by Automerger Merge Worker
Browse files

PipAnimationController: Make sure we set crop when resetting scale am: b80a55cd am: 837ced13

Change-Id: I8952e350782d08d4d1a09b4708252de9c7a60309
parents 2b30e45d 837ced13
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -376,7 +376,8 @@ public class PipAnimationController {
                    // NOTE: intentionally does not apply the transaction here.
                    // NOTE: intentionally does not apply the transaction here.
                    // this end transaction should get executed synchronously with the final
                    // this end transaction should get executed synchronously with the final
                    // WindowContainerTransaction in task organizer
                    // WindowContainerTransaction in task organizer
                    getSurfaceTransactionHelper().resetScale(tx, leash, getDestinationBounds());
                    getSurfaceTransactionHelper().resetScale(tx, leash, getDestinationBounds())
                            .crop(tx, leash, getDestinationBounds());
                }
                }
            };
            };
        }
        }