Merge "Revert "Revert "Allow transient taskbar to unstash over soft ime""" into tm-qpr-dev

This commit is contained in:
Jon Miranda
2022-11-16 20:18:27 +00:00
committed by Android (Google) Code Review

View File

@@ -770,8 +770,12 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
* * in small screen AND
* * 3 button nav AND
* * landscape (or seascape)
* We do not stash if taskbar is transient
*/
private boolean shouldStashForIme() {
if (DisplayController.isTransientTaskbar(mActivity)) {
return false;
}
return (mIsImeShowing || mIsImeSwitcherShowing) &&
!(isPhoneMode() && mActivity.isThreeButtonNav()
&& mActivity.getDeviceProfile().isLandscape);