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

Commit 2f1995ca 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: I731005aaba8936fa3e7893053ddce0967b62c4e5
parents 281d368f 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());
                }
                }
            };
            };
        }
        }