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

Commit 0bcdcb45 authored by Brian Isganitis's avatar Brian Isganitis Committed by Android (Google) Code Review
Browse files

Merge "Reset stashed in Taskbar All Apps for gestures instead of IME insets." into 24D1-dev

parents f51bd26b 2f9ad464
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -900,12 +900,12 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
        }

        // Only update the following flags when system gesture is not in progress.
        updateStateForFlag(FLAG_STASHED_IN_TASKBAR_ALL_APPS, false);
        setStashedImeState();
    }

    private void setStashedImeState() {
        boolean shouldStashForIme = shouldStashForIme();
        updateStateForFlag(FLAG_STASHED_IN_TASKBAR_ALL_APPS, false);
        if (hasAnyFlag(FLAG_STASHED_IN_APP_IME) != shouldStashForIme) {
            updateStateForFlag(FLAG_STASHED_IN_APP_IME, shouldStashForIme);
            applyState(TASKBAR_STASH_DURATION_FOR_IME, getTaskbarStashStartDelayForIme());