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

Commit 613eed06 authored by Jorge Gil's avatar Jorge Gil
Browse files

Revert to using task windowing mode for caption type check

Using repository state can fail in fullscreen->freeform transitions if
onTaskInfoChanged relayouts are faster than the transition relayout
because the repository would still see the task as not desktop (and
set asyncViewHost=true but would see the task as freeform (and set
applyStartTransactionOnDraw=true), which are incompatible params.

This change just reverts to what windowdecor1 used.

Flag: com.android.window.flags.enable_window_decoration_refactor
Bug: 432321262
Test: move task from fullscreen->desktop, no crash
Change-Id: I79d5888f6557026636c52a2769790f9bd1883882
parent 8a441b39
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