Set correct screenBounds for RemoteAnimation
Fix WindowContainer#getAnimationAdapter that creating
RemoteAnimationRecord set wrong parameter for screenBounds.
This can correct the position of split-screen task launching animation
that may shifted because the initial task view in launcher side is base
on screen coordinate.
Fix: 153581126
Test: manual as below steps:
1) Launch a app, swipe up to overview screen.
2) Tap app icon and pressing "Split screen" item.
3) After entered split-screen mode, taps the task view.
4) Make sure the secondary task animation the movement is
correct and smoothly.
Change-Id: I793f01fb290fe65af1bbf8e29e429fbca63ac255
1 file changed