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

Commit e9a41b4c authored by Gustav Sennton's avatar Gustav Sennton
Browse files

[DesktopRepo] Log visible tasks when visible task count changes

Bug: 404484865
Flag: EXEMPT logging
Test: manual
Change-Id: I731458a028f449976b20a3cb1a727a1f2172ec02
parent 3a6a5c9d
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -708,7 +708,13 @@ class DesktopRepository(
        }
        val newCount = getVisibleTaskCountInDesk(deskId)
        if (prevCount != newCount) {
            logD("VisibleTaskCount has changed from %d to %d", prevCount, newCount)
            logD(
                "VisibleTaskCount in deskId=%d has changed from %d to %d, visible tasks=%s",
                deskId,
                prevCount,
                newCount,
                desk.visibleTasks,
            )
            notifyVisibleTaskListeners(displayId, newCount)
            if (DesktopModeFlags.ENABLE_DESKTOP_WINDOWING_PERSISTENCE.isTrue()) {
                updatePersistentRepository(displayId)