diff options
| author | 2024-09-19 19:59:20 +0800 | |
|---|---|---|
| committer | 2024-09-25 16:18:26 +0800 | |
| commit | b7cc39e10a6b964d709022c3555595c3bfbd05d3 (patch) | |
| tree | a9a0e6f57331b09d5125660323e4b75da10d491e /libs/androidfw/StringPool.cpp | |
| parent | cd59885b7d58a2c5aa50ce12d3021958e242983b (diff) | |
Always contain window frames in window bounds
Previously, if the window bounds and the safe area of display cutout
don't intersect, we might get invalid window frames.
This CL uses a new method to intersect rectangles which makes sure the
result frame is contained by the window bounds.
Fix: 367461591
Flag: EXEMPT bugfix
Test: atest WindowLayoutTests
Change-Id: I63d28e5dcdcea9f4206f5026c00905a5cb413bd3
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions