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

Commit 17ef485d 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:...

PipAnimationController: Make sure we set crop when resetting scale am: b80a55cd am: 837ced13 am: 2f1995ca am: 35634d5b

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