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

This commit is contained in:
Mateusz Cicheński
2022-04-28 18:48:11 +00:00
committed by Android (Google) Code Review

View File

@@ -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);
}