summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Wei Sheng Shih <wilsonshih@google.com> 2023-07-19 03:48:44 +0000
committer wilsonshih <wilsonshih@google.com> 2023-07-19 08:59:20 +0000
commitf04307062ea011c5ad385857f417be4b925a75ad (patch)
treebd834ea0c5a4c2f16c9d4dc0c023e95bf3f0b0a1 /libs/androidfw/ApkParsing.cpp
parent0e61b8a103beb88c2cff9dec6b30387c13907ce9 (diff)
Revert^2 Do not enter pip during transient launch
When Pair-to-pair switch, the closing task is accidentally enter pip during startActivityFromRecents => moveTaskToFront, which cause two problems: 1. Pip transition should happen after transient launch finich. 2. StageCoordinator cannot handle the pip change, so that pip task will enter a strange situation. By checking whether the current top root task is transient hide, if it does, don't allow it to enter pip while pausing. And if that task really need to enter pip, it shall happen after transient launch was committed. Bug: 290857445 Test: Do pair-to-pair quick switch with an auto-pip app exist, verify no auto pip happen like switch on fullscreen app. Test: atest SwipeUpAppToPipTestsMeet Test: Verify swipe up to enter auto-pip still work. Change-Id: I190381a290352f8c71c43355adadcf071546f21f
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions