summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceUtils.cpp
diff options
context:
space:
mode:
author Kazuki Takise <takise@google.com> 2022-04-11 18:01:54 +0900
committer Kazuki Takise <takise@google.com> 2022-11-19 00:59:18 +0000
commitd4fa6371286ebebd5e4a0fe3c51aa9c8c13e292d (patch)
tree2169aef68a85d80c53e4429a74ff45981bd3beeb /libs/androidfw/ResourceUtils.cpp
parent03529c6001677900eec4976492bc407dfbe60c28 (diff)
Shrink default launch bounds on small display
The current implementation doesn't allow changing the default launch size when it doesn't fit the display. However, lots of apps have important UI pieces on top or bottom, so having a window height larger than the display height can degrade the usability of such app a lot. More and more laptops have horizentally longer displays these days, so this problem is getting more common. I think any adjustment will be small enough not to affect apps' layouts much. Also, this logic cannot make the app smaller than the min sizes defined by the system or apps. Bug: 185427982 Test: atest WmTests:TaskLaunchParamsModifierTests Change-Id: I53171bba183e5f00be3118d41c57731b5e3d5e19
Diffstat (limited to 'libs/androidfw/ResourceUtils.cpp')
0 files changed, 0 insertions, 0 deletions