Transfer the animation bounds to another coordinate if needed.
For a remote close animation target, because the orientation can be different from launcher, so when launcher applying surface animation to it, there should do another coordinate transfer based on it's coordinate. Also for closing animation, there shouldn't use #getWindowTargetBounds because it only search for opening target. There is no change when launcher's orientation matches animation target. Bug: 254805643 Bug: 298318284 Test: close activity in each oritation, verify the position of remote animaiton target is aligned with the floating view. Change-Id: I7799357695a467f1bfc653e4f058a5e646ea2405
Loading
Please register or sign in to comment