summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jorge Gil <jorgegil@google.com> 2023-05-26 00:23:39 +0000
committer Jorge Gil <jorgegil@google.com> 2023-06-05 19:05:45 +0000
commit185ba4e598489f03f1fd10cc3af380c7e6aacbf7 (patch)
treed1c9074945c84fb26a62c8536376d8b84ca63709 /libs/androidfw/StringPool.cpp
parentd647128979e5570e59afa52dd6400098144ca3a6 (diff)
Calculate desktop mode launch bounds for tasks launched into split
When a task is launched directly into multi-window, its activity type is ACTIVITY_TYPE_UNDEFINED, which prevented DesktopModeLaunchParamsModifier from setting its desktop bounds that are used when the task is changed to freeform. This change updates the early return in #calculate to allow tasks with an undefined activity type to calculate the launch bounds. Bug: 280830921 Test: launch app A, then B into split, exit split by dismissing B from the divider, drag A into desktop, open B from the taskbar - verify the freeform launch bounds are correct. Test: atest DesktopModeLaunchParamsModifierTests Change-Id: I5bdd7687a7db21f78239a30b50d4b29e4ab5e22f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions