summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2018-02-19 16:26:15 +0100
committerAdrian Roos <roosa@google.com>2018-02-20 18:04:23 +0100
commit242642146dbd762ccd43f8634476f3be9303b863 (patch)
tree484924762afd1b9ad89a7b54a37476162ddcb546 /tools/aapt2/java/JavaClassGenerator.cpp
parent944836c6c70bb91e1520434149c630313d0b8699 (diff)
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions