diff options
author | 2024-12-06 03:16:47 +0000 | |
---|---|---|
committer | 2024-12-06 03:16:47 +0000 | |
commit | 4d379cbf7746fc8a14e59f1635c5850ba0e0cd3f (patch) | |
tree | 7ab27d7c060b9d192220ed88e1dbdc5a70ebdf72 /tools/aapt/StringPool.cpp | |
parent | 52f31f182ad9d1a7dd3161898cb3a9da9a65e32c (diff) |
Refine API of getting window visible display frame
The API of getWindowVisibleDisplayFrame() is using an estimated way to
calculate the frame when the view is not attached to a window. However,
the current estimation uses the navigation bar and display cutout as the
insets covering the view content, which is not consistent with the case
where the view is attached to a window.
Make the necessary change to let it consistent with the attached case.
Bug: 373497540
Test: PopupWindowTest
Flag: EXEMPT BUGFIX
Change-Id: I82df6b2da21bf186a296ce6ae8fffd4ffebb9f6f
Diffstat (limited to 'tools/aapt/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions