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

Skip to content
Commit b2fecc4e authored by Yunfan Chen's avatar Yunfan Chen
Browse files

Always use system config insets types for insets frame

When the half-way insets configuration decoupled solution was
introduced, an arg to indicate that the legacy value should be used was
introduced. This is no longer needed as the default value will always be
fully decoupled or coupled. When the default value is fully decoupled,
the method will not be called when calculating orientation, where we
need the legacy value.

Remove the arg is a choice and can reduce the complexity of that method.

Test: Check outStableBounds value
Test: DisplayPolicyInsetsTests
Test: DisplayPolicyTests
Bug: 327313645
Change-Id: Ia7cc14b5ee147fb3fedc70282e4cfb10eba3c92e
parent 89d30ec2
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