diff options
| author | 2024-12-19 13:10:18 -0800 | |
|---|---|---|
| committer | 2025-01-13 08:51:18 -0800 | |
| commit | 91584da39f55619a12152db690cbf516ac51947c (patch) | |
| tree | 49a8f3aab5bc514ccf0b826fc42e4500e44c3fa3 /libs/androidfw/AssetsProvider.cpp | |
| parent | ee6f46ac0d36f0e24a4db6efe57e834ce9d0e146 (diff) | |
[2/2][PiP2] Block duplicate exit PiP calls
1. Move the setting of EXITING_PIP state up to where
it's scheduled.
2. Block exit/remove PiP calls if not in PiP
(e.g. if exit is already scheduled)
3. Block the scheduling of resizes if not in PiP
through shouldTransitionToState() checks.
4. Separate the scheduling of a remove transition from
an exit transition - also allow the choice of animation w/o fadeout.
Bug: 381017000
Flag: com.android.wm.shell.enable_pip2
Test: atest PipSchedulerTest
Test: atest PinnedStackTests#testPreventSetAspectRatioWhileExpanding
Test: atest PipTransitionStateTest
Test: manually repro steps in the bug
Change-Id: Ief665f45e85be567c3896c336833a8f48a0894a8
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions