diff options
author | jorgegil@google.com <jorgegil@google.com> | 2020-10-21 13:18:53 -0700 |
---|---|---|
committer | jorgegil@google.com <jorgegil@google.com> | 2020-10-21 13:18:53 -0700 |
commit | 0c19166c770649326625c8dc8f3bd9207b0be197 (patch) | |
tree | f27362007abf276603c75a2d0fbabd2209adc817 /rs/java/android/renderscript/ProgramStore.java | |
parent | 16b27d5064f89aba920c72033082bdb2c65efd6d (diff) |
Synchronize destination bounds after rotation in MotionHelper
Make sure that the bounds state is updated with the final
destination bounds after a rotation *before* sending the
pip animation finished & cancelled callbacks.
This ensures that the MotionHelper bounds are synchronized
correctly at the end of the rotation to the post-rotation
bounds and not the pre-rotation bounds by
PipTouchHandler#onPinnedStackAnimationEnded.
Bug: 171352429
Test: Enter PIP, rotate, move PIP - the window doesn't jump
to the pre-rotation bounds when trying to move it.
Change-Id: I36eb192210ec58ac3448c423f43b959ce29eff1f
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions