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

Skip to content
Commit 58130b4e authored by Tiger Huang's avatar Tiger Huang
Browse files

Use the bounds of WindowToken to compute window bounds

Previously, we use InsetsState#getDisplayFrame as the initial bounds in
computeWindowBounds. However, the frame cannot be moved by the display
area policy. This CL uses the bounds of WindowToken which can be
affected by the display area policy.

Fix: 172451212
Test: Enter one-handed mode and see if ScreenDecorOverlays are laid out
      as expected.
Change-Id: I27328f76591b805223a5b7d3e2cf14b40185816d
parent 915c8155
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