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

Commit 6fa9802e authored by Merissa Mitchell's avatar Merissa Mitchell
Browse files

[WindowDecor] No-op keyboard shortcut for toggling from fullscreen

when the task is mid-drag. This is a short-term fix for fixing the crash
caused by a race condition when a fullscreen task is being dragged to
freeform (before dropping) and using the keyboard shortcut to toggle the
task to freeform. In this case, the windowing mode has already updated
to freeform due to the keyboard shortcut toggle, but
onDragPositioningEnd still sees a TO_DESKTOP drag indicator.

This CL disables the keyboard shortcut toggling of the windowing mode if
the task being toggled is the task that is mid-drag to freeform.

Fixes: 444264266
Test: atest WMShellUnitTests:com.android.wm.shell.desktopmode
Flag: EXEMPT BUGFIX
Change-Id: I7a8f114542b7ad3428e68018052899f954599289
parent 268c7d64
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