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

Commit 3853765c authored by Eghosa Ewansiha-Vlachavas's avatar Eghosa Ewansiha-Vlachavas
Browse files

Add logs for windowing top transparent task handling

Flag: EXEMPT logs
Test: Manual
Fixes: 397650060
Change-Id: I51c1bcc7ef51c684dbefc98161ee6dc652d38dfe
parent bf72299b
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -668,6 +668,11 @@ class DesktopRepository(
     * TODO: b/389960283 - add explicit [deskId] argument.
     */
    fun setTopTransparentFullscreenTaskId(displayId: Int, taskId: Int) {
        logD(
            "Top transparent fullscreen task set for display: taskId=%d, displayId=%d",
            taskId,
            displayId,
        )
        desktopData.getActiveDesk(displayId)?.topTransparentFullscreenTaskId = taskId
    }

@@ -685,6 +690,11 @@ class DesktopRepository(
     * TODO: b/389960283 - add explicit [deskId] argument.
     */
    fun clearTopTransparentFullscreenTaskId(displayId: Int) {
        logD(
            "Top transparent fullscreen task cleared for display: taskId=%d, displayId=%d",
            desktopData.getActiveDesk(displayId)?.topTransparentFullscreenTaskId,
            displayId,
        )
        desktopData.getActiveDesk(displayId)?.topTransparentFullscreenTaskId = null
    }