summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Winson Chung <winsonc@google.com> 2024-10-01 21:43:14 +0000
committer Winson Chung <winsonc@google.com> 2024-10-12 04:18:49 +0000
commitfaff9bd105a472ea0cf7698727aa4b8a44c4d3d9 (patch)
tree262186524f0f1236825dadf4bbd143b8920142fd /libs/androidfw/StringPool.cpp
parent832e8edacf5e53e7ef1da6aa0e189ed3e7ee450d (diff)
Add ability to disable launch-adjacent for a specific root task
- There are some scenarios in which we need to disable launch adjacent handling due apps incorrectly trampolining from one launch-adjacent task immediately to another launch-adjcent task (thereby clobbering the original task). eg. User launches A fullscreen -> A A launches trampoline B with LAUNCH_ADJACENT -> A | B B launches final target C but also with LAUNCH_ADJACENT -> C | B but then trampoline B finishes itself -> C We attempt to work around this by disabling launch-adjacent for the split root task and its children. - This can also be useful for desktop mode in which we want to disable launch adjacent from accidentally launching into the adjacent root task specified by SplitScreen (we do this currently by temporarily disabling the launch adjacent root), but when we have multi-display we may just want to disable launch adjacent specifically for all tasks while they are in desktop mode. Bug: 344216031 Test: atest ActivityStarterTests Flag: EXEMPT bugfix Change-Id: I955914c3ee8239b0fd1fec31176b111f5365e7b0
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions