Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2abc7d40 authored by Eghosa Ewansiha-Vlachavas's avatar Eghosa Ewansiha-Vlachavas
Browse files

Respect bounds and size constraints when modifying launch params for dw

Ensure the `DesktopModeLaunchParamsModifier` does not override any
bounds set in the activities options and respect any size contraints
set through the layout.

Layout contraints can include:
- width/ height
- fraction width/ height
- gravity

Any bounds set must also fall within the default bounds (the display
area bounds). In the event the bounds fall outside this are, the
default bounds will be used.

Fixes: 340460999
Fixes: 340172101
Fixes: 340172030
Test: atest WmTests:DesktopModeLaunchParamsModifierTests
Test: atest WmTests:TaskLaunchParamsModifierTests

Change-Id: I86bc7e366c7d10b31aea3fe6398bc1db934a3a50
parent 6d223f0c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment