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

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

No hard-coded insets type in config calculation

There's still one place remaining using the hard-coded insets type
status bar to calculate insets for configuration calculation. It causes
the decouple related config not always working as expected. Replace it
with the configTypes to make sure it matches all flags in the system.

Without the change, after any configuration change, or display metrics
change, the status bar may be unexpectedly involved in calculation.
Then status bar will not be decoupled onward, regardless of the config
values.

Bug: 291870756
Test: dump window all and check activity level configuration
Test: Check portrait only app with corresponding build target
Test: DisplayPolicyTests DisplayPolicyInsetsTests
Change-Id: Ie357eb4e8cae261bc0239b6addd54b008251a3b9
parent bb95bb3e
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