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

Commit eaef1998 authored by Jagrut Desai's avatar Jagrut Desai
Browse files

Close Taskbar All Apps when Taskbar Pinning is animating

Test: Manual
Bug: 308488799
Flag: LEGACY ENABLE_TASKBAR_PINNING DISABLED
Change-Id: Iec33ba1acb840bb1cd05c440daab4508e91f2bfc
parent 1e638585
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -82,6 +82,8 @@ class TaskbarPinningController(private val context: TaskbarActivityContext) :
            taskbarViewController.taskbarIconTranslationXForPinning.animateToValue(animateToValue)
        )

        controllers.taskbarOverlayController.hideWindow()

        animatorSet.doOnEnd { recreateTaskbarAndUpdatePinningValue() }
        animatorSet.duration = PINNING_ANIMATION_DURATION
        updateIsAnimatingTaskbarPinningAndNotifyTaskbarDragLayer(true)