Skip to content
Commit 6cb16984 authored by chaviw's avatar chaviw
Browse files

Fix some inset issues

1. Rotate the window bounds so they are in the orientation of
the requested display frame. In most cases, this will do nothing. This
is specifically meant to ensure fixed rotation works

2. Ensure windows top and left are also adjusted if the bounds are not
at 0, 0

Test: Open app in fixed rotation
Test: DisplayAreaOrganizer Test app
Test: DisplayPolicyLayoutTests

Rotate window bounds if display frame in different orientation

Change-Id: I5444456eb7fc0e1538596ae0d3a2faf3419c3e23
parent 84327831
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