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

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

Merge "Add removed logs back again for single desk." into main

parents 2fdd1f0d a762bf3b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -845,8 +845,14 @@ class DesktopRepository(
                DesktopModeFlags.INCLUDE_TOP_TRANSPARENT_FULLSCREEN_TASK_IN_DESKTOP_HEURISTIC
                    .isTrue && DesktopModeFlags.ENABLE_DESKTOP_WINDOWING_MODALS_POLICY.isTrue
            ) {
                logD(
                    "isAnyDeskActive: hasVisibleTasks=%s hasTopTransparentFullscreenTask=%s",
                    hasVisibleTasks,
                    hasTopTransparentFullscreenTask,
                )
                return hasVisibleTasks || hasTopTransparentFullscreenTask
            }
            logD("isAnyDeskActive: hasVisibleTasks=%s", hasVisibleTasks)
            return hasVisibleTasks
        }
        return desktopData.getActiveDesk(displayId) != null