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

Commit 0555ffe1 authored by Jagrut Desai's avatar Jagrut Desai
Browse files

Adding callback support for Entering DesktopMode from DesktopTaskView

This cl inlcudes
	- callback for entry when user enters from existing DesktopTaskView in overview/recents

Test: Presubmit
Bug: 343882478
Flag: com.android.window.flags.enable_desktop_windowing_mode
Change-Id: I5553e49cbaa84ea663ec904d0efd2c2c07ae0547
parent ce65db87
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -310,6 +310,11 @@ class DesktopTasksController(
        transitions.startTransition(transitionType, wct, handler).also { t ->
            handler?.setTransition(t)
        }

        // launch from recent DesktopTaskView
        desktopModeEnterExitTransitionListener?.onEnterDesktopModeTransitionStarted(
            FREEFORM_ANIMATION_DURATION
        )
    }

    /** Gets number of visible freeform tasks in [displayId]. */