PipAnimationController: Make sure we set crop when resetting scale am: b80a55cda8 am: 837ced130e am: 2f1995ca80 am: 35634d5bb0

Change-Id: I6d0372452164c6da41189308bca97c87bf7e5f61
This commit is contained in:
Robert Carr
2020-05-07 19:23:11 +00:00
committed by Automerger Merge Worker

View File

@@ -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());
}
};
}