diff options
| author | 2025-01-21 14:36:48 -0800 | |
|---|---|---|
| committer | 2025-01-21 14:50:19 -0800 | |
| commit | 4454789298ebcd344e3d60f97a625d15899e7afc (patch) | |
| tree | 70504d41b75653e6a5e3306f9e88b8d986cf5ed4 /libs/androidfw/StringPool.cpp | |
| parent | 4464f3c033bed3193bb24b8e33df6a9ef72dd65c (diff) | |
[PiP2] Fix Btn-nav and direct enter PiP from Split
Make sure DefaultMixedHandler properly handles split-to-pip
with PiP2 flag on when going home from split or requesting a direct
enter PiP from one of the stage tasks (can be trigered via back gesture
in certain apps like YT). This needs to be properly followed by a
DISMISS_SPLIT transition started by StageCoordinator in the
single-activity PiP case.
Issues that are yet to be fixed:
- back gesture does not trigger an alpha enter PiP animation, and
instead has PiP window appear with a jumpcut
- entering split-to-PiP from a multi-activity PiP app in either stage
is currently not polished
This change also move the AnimationType to PipTransitionController and
allows animation type overrides for both pip1 and pip2.
Bug: 381374430
Flag: com.android.wm.shell.enable_pip2
Test: manually repro the steps in the bug
Test: create a split with a PiP task and tap home btn
Change-Id: Ia867afd77aa08f6d75db1979b3f5ee14eac0f3d8
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions