Allow touches on transient taskbar if ime is present.

Bug: 260101467
Test: open chrome, enter url to pull up ime, swipe up to show taskbar,
      tap on taskbar icon

Change-Id: Ic8be6c2bb82fc9b8ab83572cb8622ac157078ea9
This commit is contained in:
Jon Miranda
2022-11-29 11:30:39 -08:00
parent b0ed7dae63
commit 106cc895e9
2 changed files with 4 additions and 2 deletions

View File

@@ -193,7 +193,8 @@ public class TaskbarViewController implements TaskbarControllers.LoggableTaskbar
* Should be called when the IME visibility changes, so we can make Taskbar not steal touches.
*/
public void setImeIsVisible(boolean isImeVisible) {
mTaskbarView.setTouchesEnabled(!isImeVisible);
mTaskbarView.setTouchesEnabled(!isImeVisible
|| DisplayController.isTransientTaskbar(mActivity));
}
/**