commit | b7cc39e10a6b964d709022c3555595c3bfbd05d3 | [log] [tgz] |
---|---|---|
author | Tiger <tigerhuang@google.com> | Thu Sep 19 19:59:20 2024 +0800 |
committer | Tiger <tigerhuang@google.com> | Wed Sep 25 16:18:26 2024 +0800 |
tree | a9a0e6f57331b09d5125660323e4b75da10d491e | |
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