Skip to content
Snippets Groups Projects
Forked from Dhina17 / platform_frameworks_base
Source project has a limited visibility.
user avatar
Mateusz Cicheński authored
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
d95d801a
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Name Last commit Last update
..