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

Commit 3cbafac4 authored by Matt Sziklay's avatar Matt Sziklay Committed by Android (Google) Code Review
Browse files

Merge "Use addMoveToFullscreenChanges on fullscreen launch." into main

parents 18f670c4 6b4d6ed0
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1668,6 +1668,13 @@ class DesktopTasksController(
                    transition, wct, task.displayId
                )
            }
        } else if (taskRepository.isActiveTask(task.taskId)) {
            // If a freeform task receives a request for a fullscreen launch, apply the same
            // changes we do for similar transitions. The task not having WINDOWING_MODE_UNDEFINED
            // set when needed can interfere with future split / multi-instance transitions.
            return WindowContainerTransaction().also { wct ->
                addMoveToFullscreenChanges(wct, task)
            }
        }
        return null
    }