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

Commit f641ddd2 authored by Jon Miranda's avatar Jon Miranda
Browse files

Revert "Revert "Allow transient taskbar to unstash over soft ime""

This reverts commit c8c81a34.

Reason for revert: fix tests by not auto stashing when ime comes up, but still allow taskbar to show if user initiaties it

Bug: 255818649
Change-Id: Id3ab27dcc205e5a72dbd0481e3eabc10b2e1b643
Test: pull up ime, swipe to reveal taskbar
parent c8c81a34
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -758,8 +758,12 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
     *  * in small screen AND
     *  * 3 button nav AND
     *  * landscape (or seascape)
     * We do not stash if taskbar is transient
     */
    private boolean shouldStashForIme() {
        if (DisplayController.isTransientTaskbar(mActivity)) {
            return false;
        }
        return (mIsImeShowing || mIsImeSwitcherShowing) &&
                !(isPhoneMode() && mActivity.isThreeButtonNav()
                        && mActivity.getDeviceProfile().isLandscape);