Also check with mOverrideConfigTypes in providesDisplayDecorInsets
If a window provides an insets source which will affect DecorInsets,
WindowState#providesDisplayDecorInsets should return true. Since
DecorInsets contains mOverrideConfigInsets and mOverrideNonDecorInsets
now, we should take mOverrideConfigTypes and mOverrideDecorTypes into
account.
Note that mOverrideConfigTypes always include mOverrideDecorTypes, so
this CL only adds the check of mOverrideConfigTypes.
Fix: 344828981
Bug: 151861875
Flag: com.android.window.flags.insets_decoupled_configuration
Test: execute: "dumpsys window display" and see if overrideConfigInsets
includes the navigation bar insets
Change-Id: Id0d105622e0d87c66cc5e95657ac34a3234214c0
Loading
Please register or sign in to comment