diff options
| author | 2022-06-23 21:34:42 +0800 | |
|---|---|---|
| committer | 2022-06-23 21:34:42 +0800 | |
| commit | e453728b69a40b9d14e76b44745ebbaadc1a45ca (patch) | |
| tree | 083c69e28b101614fdc66c365c2cfe70ce2773be /libs/androidfw/ResourceTimer.cpp | |
| parent | d9fa425f920cb3d0bd8205c103ae1515dec81867 (diff) | |
Sync surface position for animation in core
With shell transition:
1. Transition is collecting
2. Window updates position -> set to sync transaction
3. Window plays animation -> use pending transaction
4. The transition is ready and apply sync transaction
-> The position set by 3 is replaced by 2
Though it can also be fixed by startAnimation(getSyncTransaction(),
that will lose the ability to run window animation independently
of token level transition.
Bug: 236947311
Test: Launch an activity with a short transition or no
transition animation. And it pops a dialog immediately.
The dialog should not show in wrong place.
Change-Id: I74e044f440e40c3c5f99bf0f8c7a601e953dbbc7
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions