diff options
author | Tiger Huang <tigerhuang@google.com> | 2020-11-30 19:08:30 +0800 |
---|---|---|
committer | Tiger Huang <tigerhuang@google.com> | 2020-12-02 01:56:20 +0800 |
commit | 58130b4e626b787d82ac3337a7fcd824e9911c8f (patch) | |
tree | ef25bcc8211139998a7020091a8da8c1cce33518 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 915c8155799e7881821dac39a3e43489f1f8443e (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions