Skip to content
Commit ba4b76b2 authored by Ben Lin's avatar Ben Lin
Browse files

PiP: When there's an animation happening, use animator's destBounds.

mLastReportedBounds from PipTaskOrganizer only gets updated when the
animation finishes. In the time #updateMovementBounds gets called while
there's another animation happening, using the animator's destination
bounds is a better choice.

Bug: 158225582
Test: Animation happens correctly now when shelf height change event
comes in at the same time as unexpand

Change-Id: I30f67327bb2c29f1ac5eae503cfd9d66b3f91928
parent 28a2e7fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment