diff options
| author | 2024-12-16 16:34:32 -0800 | |
|---|---|---|
| committer | 2025-01-08 20:18:33 +0000 | |
| commit | f4ae6bf4e4f08d4387098536a2dbc8de6bb3412d (patch) | |
| tree | 1fe417e6f86b800d0298dd4e89a245bd5e9e3faa /libs/androidfw/ApkParsing.cpp | |
| parent | 00b01090bca1e4c5fb433b034246124bfc4f0267 (diff) | |
[PiP2 on Desktop] Don't exit Desktop Mode when PiP is active.
Recall: http://recall/clips/99739260-beeb-4439-957a-79502a8eb8d1
With PiP on Desktop Mode, we should remain in Desktop Mode in the
following cases:
1) Minimizing the last open Desktop window into PiP
2) While PiP is running, another Desktop window that is the last
   open Desktop window is minimized or closed
In both cases, closing the PiP window should then exit Desktop Mode.
If PiP is running and another Desktop window switches to fullscreen, we
will exit Desktop Mode but PiP will remain, and go to fullscreen when
expanded.
Test: atest DesktopTasksTransitionObserverTest DesktopRepositoryTest
DesktopTasksControllerTest PipSchedulerTest
Flag: com.android.window.flags.enable_desktop_windowing_pip
Bug: 385207728
Bug: 384445396
Change-Id: Ie44842dd2ece08638e4ca2e0f8916e76b8fc4dc6
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions