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

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