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

Commit e502cf3a authored by Tracy Zhou's avatar Tracy Zhou
Browse files

Only hide back button in SUW when ime is rendering it

Bug: 316482919
Test: Back button is visible in SUW when ime is not rendering it
Change-Id: Id3f5d637c9e459a1b7a766187f0c134dd39a05f9
parent ea9522ee
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -772,9 +772,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);