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

Commit ab2878df authored by Jorge Gil's avatar Jorge Gil
Browse files

[WindowDecor2] Fix logic for setting spy/force-consumption params

A subtle change that joined two nested |if| statements together changed
the execution flow during relayout param calculation, this change
reverts to the original logic from window decor 1.

Specifically, isTransparentCaptionBarAppearance=true +
enable_accessible_custom_headers=true +
enable_caption_compat_inset_force_consumtion=true should NOT set
params.mShouldSetAppBounds nor FLAG_FORCE_CONSUMING, but wd2 would set
one of the two.

Flag: com.android.window.flags.enable_window_decoration_refactor
Bug: 409648813
Bug: 414521306
Test: atest WMShellUnitTests
Change-Id: I966cfbf8048e17469c82868b28143b73fae382a3
parent afaaf340
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment