mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Fix ime switcher not showing for 3-button nav
Bug: 226489759 Test: connect to a physical keyboard in 3 button nav and make sure the ime switcher shows Change-Id: Iabde149e8bcd1edacff8e039f956628c69341ecb
This commit is contained in:
@@ -191,7 +191,7 @@ public class NavbarButtonsViewController implements TaskbarControllers.LoggableT
|
||||
isThreeButtonNav ? mStartContextualContainer : mEndContextualContainer,
|
||||
mControllers.navButtonController, R.id.ime_switcher);
|
||||
mPropertyHolders.add(new StatePropertyHolder(imeSwitcherButton,
|
||||
flags -> ((flags & MASK_IME_SWITCHER_VISIBLE) == MASK_IME_SWITCHER_VISIBLE)
|
||||
flags -> ((flags & MASK_IME_SWITCHER_VISIBLE) != 0)
|
||||
&& ((flags & FLAG_ROTATION_BUTTON_VISIBLE) == 0)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user