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

Change-Id: I62cb803f8d8c014103903b09d473dc290d853216
This commit is contained in:
Robert Carr
2020-05-07 19:01:17 +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());
}
};
}