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

Commit 6e634c9a authored by Eghosa Ewansiha-Vlachavas's avatar Eghosa Ewansiha-Vlachavas Committed by Android (Google) Code Review
Browse files

Merge "Add logs for windowing top transparent task handling" into main

parents 8f2e73c6 3853765c
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -686,6 +686,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
    }

@@ -703,6 +708,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
    }