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

Skip to content
Commit d95d801a authored by Mateusz Cicheński's avatar Mateusz Cicheński
Browse files

For fixed rotation test assert that PiP is within screen bounds

This is done by asserting on the center point of the PiP window, since
in the fixed rotation case the full PiP bounds can temporarily go
outside of screen bounds, as it is resizing from landscape fullscreen
to final PiP size.

The transition also involves rotating the display, which is why we have
to first assert against starting bounds in landscape, and then check
against the portrait bounds at the end of the transition. At that point
we are asserting full PiP bounds though, as it is expected to be fully
inside the display bounds.

Test: atest EnterPipToOtherOrientation
Bug: 275092905
Flag: none

Change-Id: I87f42c9c96e5a01c8aff44c6c44a06fb9d29c2de
parent af9ab323
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