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

Commit d265afe3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Log focused tasks when skipping display change" into main

parents 97ff816f ef439db2
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -2339,10 +2339,11 @@ class DesktopTasksController(
                )
                return@moveToNextDisplay false
            }
            if (!getFocusedNonDesktopTasks(displayId, userId).isEmpty()) {
            val focusedNonDesktopTasks = getFocusedNonDesktopTasks(displayId, userId)
            if (!focusedNonDesktopTasks.isEmpty()) {
                logD(
                    "moveToNextDesktopDisplay: Skip displayId=$displayId as the focused " +
                        "task is not desktop task focused non desktop tasks."
                    "moveToNextDesktopDisplay: Skip displayId=$displayId as it has focused " +
                        "non desktop tasks ${focusedNonDesktopTasks.joinToString()}"
                )
                return@moveToNextDisplay false
            }