mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 10:18:20 +00:00
Revert "Revert "Allow transient taskbar to unstash over soft ime""
This reverts commit c8c81a3425.
Reason for revert: fix tests by not auto stashing when ime comes up, but still allow taskbar to show if user initiaties it
Bug: 255818649
Change-Id: Id3ab27dcc205e5a72dbd0481e3eabc10b2e1b643
Test: pull up ime, swipe to reveal taskbar
This commit is contained in:
@@ -758,8 +758,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);
|
||||
|
||||
Reference in New Issue
Block a user