Files
frameworks_base/core/java/android
Adrian Roos 242642146d DisplayCutout: Dispatch all non-zero safeInsets
Ensures that even if the display cutout does not overlap
a window, the safe insets are still dispatched if the window
overlaps any part of the cutout area and the safe insets
are therefore non-zero.

To do that, we need to compute the insets once against the
display size, then only shrink or expand the safe insets
accordingly.

Bug: 73533636
Test: atest DisplayCutoutTest
Change-Id: I1ea449178e29c7effdd92cac78af1a3875ca7e70
2018-02-20 18:04:23 +01:00
..
2018-02-16 15:40:27 -08:00
2018-02-16 20:45:22 +00:00
2018-02-16 20:45:22 +00:00
2018-02-16 20:45:22 +00:00
2018-02-12 17:30:02 -08:00