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

Commit ea2e56f4 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: Ie435f8f26fd7d626393451fb9c051f1fcb4f1523
parents 253f1714 b80a55cd
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());
                }
            };
        }