diff options
author | 2024-02-05 16:24:43 +0000 | |
---|---|---|
committer | 2024-02-08 16:55:43 +0000 | |
commit | 2bf6aaf17397948ff888937b1c4c660ab130dc64 (patch) | |
tree | 7f495783592eb5a7c1c84598b13901e8684c6f6a /opengl/java | |
parent | c7858862b7ef5a5559ad4186d785a1dade39ce15 (diff) |
Remove unneeded status bar side insets when cutout is at the bottom
When the cutout is in the bottom corner, and is considered to be a
"bottom" cutout, instead of a "side" cutout, it still shares a short
edge with the status bar. Because of that, we were adding side insets
to the status bar, even when not needed.
The fix is to exclude bottom cutouts from the intersection calculations.
Fixes: 321957421
Test: StatusBarContentInsetsProviderTest
Test: Manually
Flag: NONE
Change-Id: I76c3cde7ad5c19058b9d6a22e08c0497fc53164f
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions