diff options
| author | 2025-03-18 15:24:17 +0000 | |
|---|---|---|
| committer | 2025-03-18 11:57:11 -0700 | |
| commit | 713556048d791ece16b225b6fe07932345dcb189 (patch) | |
| tree | 71a7e4217408393ca2fa2f0c2039554c7a0b9ab9 /libs/androidfw/AttributeResolution.cpp | |
| parent | 6778496acf3b12190c5f66616d6af5b82d1156ba (diff) | |
Only inherit task bounds for new single tasks
Normal task launches use `FLAG_ACTIVITY_NEW_TASK` which can cause them
to be wrongly caught but the task trampoline bounds logic. Testing has
shown that a common signature of these task trampolines is to use single
task launches. Update task trampoline bounds heuristic to only apply to
single task launches.
Flag: com.android.window.flags.inherit_task_bounds_for_trampoline_task_launches
Test: atest WmTests:DesktopModeLaunchParamsModifierTests,
atest WMShellUnitTests:DesktopTasksControllerTest
Fixes: 401296527
Fixes: 403470140
Change-Id: I73492e5500b5023687a13403ef472016cb76aaa5
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions