Merge "Make Hotseat report shelf height on large screen devices." into tm-dev

This commit is contained in:
Mateusz Cicheński authored and Android (Google) Code Review committed 2022-04-28 18:48:11 +00:00
commit f312acc081
1 file changed
+1 -2
@@ -220,8 +220,7 @@ public class QuickstepLauncher extends BaseQuickstepLauncher {
(getActivityFlags() & ACTIVITY_STATE_USER_WILL_BE_ACTIVE) != 0;
boolean visible = (state == NORMAL || state == OVERVIEW)
&& (willUserBeActive || isUserActive())
&& !profile.isVerticalBarLayout()
&& profile.isPhone && !profile.isLandscape;
&& !profile.isVerticalBarLayout();
UiThreadHelper.runAsyncCommand(this, SET_SHELF_HEIGHT, visible ? 1 : 0,
profile.hotseatBarSizePx);
}