diff options
| author | Ben Lin <linben@google.com> | 2021-05-17 12:54:28 -0700 |
|---|---|---|
| committer | Ben Lin <linben@google.com> | 2021-05-20 17:32:46 -0700 |
| commit | a8b3618691068721967b0174144de3ceeca22c9e (patch) | |
| tree | be8854c35ce9d1b7476e0b2bd7b0504356feaf17 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
| parent | 3c4a49dfa47b5792855a4ee2f15135ac7760481d (diff) | |
Pass in finishTransaction to TransitionHandler#startAnimation
When iterating through registered transitions and finding one and
marking as active, WM sets a reset transition which runs at when the
transition handler runs its finish callback. However, not all transition
handler wants a complete reset of the transition; in PiP's case, it
actually wants to set the final position to the new PiP x and y
coordinates. Passing in the finish transition to #startAnimation will allow
each transition handler to customize and overwrite values as necessary.
Bug: 165793917
Test: Enable Transitions, enter PIP - PIP animates correctly now
Change-Id: I741a04c1a9123c924383168c0db48646ef34059d
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions
