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