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
Loading
Please register or sign in to comment