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

Skip to content
Commit bbc04599 authored by Charles Chen's avatar Charles Chen
Browse files

Fix overlay is expanded in split-screen

The overlay container will always be expanded when the host task is at the right side of
split screen. It's because the taskBounds use display space, while the
container bounds use relative bounds.

This CL uses relative taskBounds in #santizeBounds to fix the issue.

Test: atest OverlayPresentationTest
Test: manual - Launch the demo app to right side of split-screen and launch the overlay.
               It's expected to follow the configuration in demp app.
Fixes: 339611972
Flag: EXEMPT bugfix
Change-Id: I416bbbf18bcec9404fe230ebcae290821cb8d96f
parent 85680b52
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