summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorCharles Chen <charlesccchen@google.com>2020-11-30 18:02:24 +0800
committerCharles Chen <charlesccchen@google.com>2020-12-16 14:07:47 +0800
commit098c34c3b7786e1fd49e6546eb6661b055f7308b (patch)
tree056969ac3b4c14184c165b7c0b278555822d3589 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc1cd3d6fd8a415523367a853d505b4bfd1386fbe (diff)
Try to fix rounded corner overlay issue
Previously, the feature cannot exclude rounded corner layer because it will be promoted to the top-most layer regardless of its window type. 1. Excludeds the rounded layer for a DisplayArea feature by default because rounded corner should be anchored to its default position for most features. 2. Increases the max layer because we may include/exclude rounded corner layer unexpectedly by including/excluding window layer TYPE_POINTER. 3. Fix ArrayIndexOutOfBoundsException when include/exclude TYPE_POINTER Test: atest DisplayAreaPolicyBuilder#testFeatureNotThrowArrayIndexOutOfBoundsException Test: manual - trigger hide notch + OHM Bug: 172451212 Change-Id: I31794b665a8237e6dc8643a5a8d0e4f01c663621
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions