diff options
| author | 2022-02-17 15:43:41 -0800 | |
|---|---|---|
| committer | 2022-02-18 21:19:08 +0000 | |
| commit | 5a28c5b6cdfd088e8ce20e5791ab4fe211b90c6e (patch) | |
| tree | 13c95eedb9c2623ed19d5e72d39cdd84c1134592 /libs/hwui/HardwareBitmapUploader.cpp | |
| parent | 71ac6f00316578a41844d571a72980781bd4c7a2 (diff) | |
Disable PiP entry when switching tasks via recents
With shell transitions, the recents activity gets brought to
the front. This sets enter-pip-on-task-switch so once we actually
switch tasks, the previous one goes to pip.
In legacy, because of launch-behind, enter-pip-on-task-switch
doesn't get set.
In order to match the current behavior (don't PiP during recents
switch), we prevent enter-pip-on-task-switch into transient
activities. Then, only if the transient-launch is actually
committed, we enable the flag before attempting to pip.
Bug: 220196913
Test: open an auto-pip app. quickswitch to another app.
Change-Id: Ib7d2fa36c74eca9b166a957a907b2681f48e9d0e
Diffstat (limited to 'libs/hwui/HardwareBitmapUploader.cpp')
0 files changed, 0 insertions, 0 deletions