Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 098c34c3 authored by Charles Chen's avatar Charles Chen
Browse files

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
parent c1cd3d6f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment