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

Commit 24877947 authored by Pragya Bajoria's avatar Pragya Bajoria
Browse files

Remove obsolete desktop stashing logic [3/n]

Change-Id: I3065ea0624f54f0f3e212d64ee6e4144c7a19186
Bug: 309481654
Flag: EXEMPT refactor since it is removing obsolete code with no changes to current behavior.
parent 4eaa6e2e
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
@@ -1374,16 +1374,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 {