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

Commit 56ce010c authored by Jon Miranda's avatar Jon Miranda Committed by Jon @
Browse files

Use default taskbar stash duration when opening/closing all apps from taskbar.

Bug: 300156179
Test: from taskbar click on All Alls button
      exit All Apps
Change-Id: I54f19e6714c1da2f6caef31875769fdc312957d2
parent a1b7cbe0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@ final class TaskbarAllAppsViewController {
    private void setUpTaskbarStashing() {
        if (DisplayController.isTransientTaskbar(mContext)) {
            mTaskbarStashController.updateStateForFlag(FLAG_STASHED_IN_TASKBAR_ALL_APPS, true);
            mTaskbarStashController.applyState(mOverlayController.getOpenDuration());
            mTaskbarStashController.applyState();
        }

        mNavbarButtonsViewController.setSlideInViewVisible(true);
@@ -95,7 +95,7 @@ final class TaskbarAllAppsViewController {

            if (DisplayController.isTransientTaskbar(mContext)) {
                mTaskbarStashController.updateStateForFlag(FLAG_STASHED_IN_TASKBAR_ALL_APPS, false);
                mTaskbarStashController.applyState(mOverlayController.getCloseDuration());
                mTaskbarStashController.applyState();
            }
        });
    }