diff options
| author | 2025-01-13 13:32:39 -0800 | |
|---|---|---|
| committer | 2025-02-13 11:39:22 -0800 | |
| commit | 04d425baacc22173d090a5cfff15ca1f38207409 (patch) | |
| tree | 441a6c0be2d6b5301ef2cd0e1875e2914e862a10 /libs/androidfw/FileStream.cpp | |
| parent | a309f14e821c932f4e3700578757ff2206073fad (diff) | |
Add workaround for PiP1 in sync-finished detection
To conservatively determine when a sync is finished (without
ready-tracking), we need to wait until visibility is calculated
after lifecycle events "settle". Unfortunately, pip1 is
sensitive to the time-spent waiting for lifecycle events to
complete (since it needs a "cleanup" transition to undo
an intermediate state it put WM in).
Until we have pip2, this CL works around this issue by
detecting this intermediate state and not-waiting. While
this technically creates a "gap" in ready detection, in
practice this situation should be rare outside of the
pip1 use-case.
Bug: 385852312
Test: 3btn-nav, go to pip, open another app, expand pip, re-enter
pip quickly.
Flag: EXEMPT bugfix
Change-Id: Ic2f4a717d0d1c6429fc1eca9dfec27c00e9aa8c0
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions