Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5a24454e authored by Merissa Mitchell's avatar Merissa Mitchell
Browse files

[PiP on Desktop] Minimize multi-activity PiP for non-Shell transitions

For content PiP, the PiP transition is not started through
DesktopTasksController#minimizeTask, so the multi-activity PiP parent is
not being minimized as it should. This CL adds the minimization through
DesktopPipTransitionController#handlePipTransition so content PiP
multi-activity case is handled.

Bug: 422711549
Test: Manual - visit DailyMotion on Chrome, play a video and trigger the
native PiP function on the video player. Verify PiP enters and the
Chrome task is not seen.
Test: atest DesktopPipTransitionControllerTest
DesktopTasksControllerTest
Flag: com.android.window.flags.enable_desktop_windowing_pip

Change-Id: If676dbfb1e4ba855d500abb232c2191823825ee0
parent 5210ef7e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment