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 Original line Diff line number Diff line
@@ -2339,10 +2339,11 @@ class DesktopTasksController(
                )
                )
                return@moveToNextDisplay false
                return@moveToNextDisplay false
            }
            }
            if (!getFocusedNonDesktopTasks(displayId, userId).isEmpty()) {
            val focusedNonDesktopTasks = getFocusedNonDesktopTasks(displayId, userId)
            if (!focusedNonDesktopTasks.isEmpty()) {
                logD(
                logD(
                    "moveToNextDesktopDisplay: Skip displayId=$displayId as the focused " +
                    "moveToNextDesktopDisplay: Skip displayId=$displayId as it has focused " +
                        "task is not desktop task focused non desktop tasks."
                        "non desktop tasks ${focusedNonDesktopTasks.joinToString()}"
                )
                )
                return@moveToNextDisplay false
                return@moveToNextDisplay false
            }
            }