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