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

Commit 4ca5e9cf 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

Change-Id: I5128a650dee7062caf832b4cda51563ef3651abe
parents eac4741e b80a55cd
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());
                }
                }
            };
            };
        }
        }