summaryrefslogtreecommitdiff
path: root/libs/hwui/HardwareBitmapUploader.cpp
diff options
context:
space:
mode:
author Evan Rosky <erosky@google.com> 2022-02-17 15:43:41 -0800
committer Evan Rosky <erosky@google.com> 2022-02-18 21:19:08 +0000
commit5a28c5b6cdfd088e8ce20e5791ab4fe211b90c6e (patch)
tree13c95eedb9c2623ed19d5e72d39cdd84c1134592 /libs/hwui/HardwareBitmapUploader.cpp
parent71ac6f00316578a41844d571a72980781bd4c7a2 (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