commit | ba4b76b2049190bee34c55f9d4296016aa4af221 | [log] [tgz] |
---|---|---|
author | Ben Lin <linben@google.com> | Fri Jun 05 16:39:17 2020 -0700 |
committer | Ben Lin <linben@google.com> | Tue Jun 09 21:57:02 2020 +0000 |
tree | 3b1b3343333517c1c6d4e4db1422f4e69574271f | |
parent | 28a2e7fddf2b6d78defa7d07495f67124e38a931 [diff] |
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