summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Kazuki Takise <takise@google.com> 2022-02-08 16:51:52 +0900
committer Kazuki Takise <takise@google.com> 2022-11-18 10:37:55 +0900
commitb3968b811823658b8f0a272b26ca2adb883d94ae (patch)
tree0b82fd316be4fc84cd6215a49bf7392de7cff6a2 /libs/androidfw/StringPool.cpp
parent41fb1179c529e9108f7d9dcc3c9c2cab525aa2de (diff)
Calculate freeform bounds for fullscreen task
Currently several pieces of logic in LaunchParamsModifier assume that bounds doesn't need to be calculated for fullscreen tasks, but this is incorrect in that the bounds calculated in LaunchParamsModifier can be used as last non-fullscreen bounds for fullscreen tasks. Last non-fullscreen bounds is useful in an environment such as ARC++ where the windowing mode of a task changes between freeform and fullscreen. With this CL, freeform bounds calculation (ActivityOption, layout, getTaskBounds) is applied to fullscreen tasks too. This CL also involves some refactoring around getting bounds from ActivityOption and WindowLayout (especially for fullscreen tasks and tasks whose windowing mode is MULTI_WINDOW). Bug: 185427982 Test: atest WmTests:TaskLaunchParamsModifierTests Change-Id: I3ccaf1ebfa7bcc11c371b0043fbfa11366f7a8f3
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions