PipAnimationController: Make sure we set crop when resetting scale am: b80a55cda8 am: 837ced130e

Change-Id: I731005aaba8936fa3e7893053ddce0967b62c4e5
This commit is contained in:
Robert Carr
2020-05-07 18:48:10 +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());
}
};
}