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

Commit b7efb5cb authored by Tracy Zhou's avatar Tracy Zhou Committed by Android (Google) Code Review
Browse files

Merge "Only hide back button in SUW when ime is rendering it" into main

parents d1176bcc e502cf3a
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -780,9 +780,11 @@ public class NavbarButtonsViewController implements TaskbarControllers.LoggableT
            handleSetupUi();

            // Hide back button in SUW if keyboard is showing (IME draws its own back).
            if (mIsImeRenderingNavButtons) {
                mPropertyHolders.add(new StatePropertyHolder(
                        mBackButtonAlpha.get(ALPHA_INDEX_SUW),
                        flags -> (flags & FLAG_IME_VISIBLE) == 0));
            }
        } else if (isInKidsMode) {
            int iconSize = res.getDimensionPixelSize(
                    R.dimen.taskbar_icon_size_kids);