commit | 804feb76e7223462b99a7f51cefb775a3e602d25 | [log] [tgz] |
---|---|---|
author | Tracy Zhou <tracyzhou@google.com> | Fri Jun 24 11:17:40 2022 -0700 |
committer | Tracy Zhou <tracyzhou@google.com> | Fri Jun 24 11:17:40 2022 -0700 |
tree | a332028e12ca235589c0db7ab008f81afd4cc669 | |
parent | 578fbee848bf433b0aa2323a1c039139836760dc [diff] |
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
diff --git a/quickstep/src/com/android/launcher3/taskbar/NavbarButtonsViewController.java b/quickstep/src/com/android/launcher3/taskbar/NavbarButtonsViewController.java index 01cf23b..b363803 100644 --- a/quickstep/src/com/android/launcher3/taskbar/NavbarButtonsViewController.java +++ b/quickstep/src/com/android/launcher3/taskbar/NavbarButtonsViewController.java
@@ -191,7 +191,7 @@ 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))); }