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

Commit 59ee0bbd authored by Jorge Gil's avatar Jorge Gil
Browse files

[19/N] Desks: Implement IDesktopMode APIs

Flag: com.android.window.flags.enable_multiple_desktops_backend
Fix: 393962162
Test: m
Change-Id: I9e5b73d2b68771d44cd8cc73933ae99d7e7ecdc8
parent 982cee25
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -3300,11 +3300,15 @@ class DesktopTasksController(
        }

        override fun createDesk(displayId: Int) {
            // TODO: b/362720497 - Implement this API.
            executeRemoteCallWithTaskPermission(controller, "createDesk") { c ->
                c.createDesk(displayId)
            }
        }

        override fun activateDesk(deskId: Int, remoteTransition: RemoteTransition?) {
            // TODO: b/362720497 - Implement this API.
            executeRemoteCallWithTaskPermission(controller, "activateDesk") { c ->
                c.activateDesk(deskId, remoteTransition)
            }
        }

        override fun showDesktopApps(displayId: Int, remoteTransition: RemoteTransition?) {