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

Commit 6a9bfe6f authored by Pragya Bajoria's avatar Pragya Bajoria Committed by Android (Google) Code Review
Browse files

Merge "Remove obsolete desktop stashing logic [3/n]" into main

parents 6e47908b 24877947
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -446,11 +446,6 @@ class DesktopModeTaskRepository {
         * Called when the desktop changes the number of visible freeform tasks.
         */
        fun onTasksVisibilityChanged(displayId: Int, visibleTasksCount: Int) {}

        /**
         * Called when the desktop stashed status changes.
         */
        fun onStashedChanged(displayId: Int, stashed: Boolean) {}
    }
}

+0 −10
Original line number Diff line number Diff line
@@ -1375,16 +1375,6 @@ class DesktopTasksController(
                    l -> l.onTasksVisibilityChanged(displayId, visibleTasksCount)
                }
            }

            override fun onStashedChanged(displayId: Int, stashed: Boolean) {
                KtProtoLog.v(
                        WM_SHELL_DESKTOP_MODE,
                        "IDesktopModeImpl: onStashedChanged display=%d stashed=%b",
                        displayId,
                        stashed
                )
                remoteListener.call { l -> l.onStashedChanged(displayId, stashed) }
            }
        }

        init {