Merge "Make Hotseat report shelf height on large screen devices." into tm-dev am: f312acc081 am: cc3cc0428e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17969666 Change-Id: I8a4d56baeef9ca5a5d5b5128a971e041f908e4d3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -220,8 +220,7 @@ public class QuickstepLauncher extends BaseQuickstepLauncher {
|
|||||||
(getActivityFlags() & ACTIVITY_STATE_USER_WILL_BE_ACTIVE) != 0;
|
(getActivityFlags() & ACTIVITY_STATE_USER_WILL_BE_ACTIVE) != 0;
|
||||||
boolean visible = (state == NORMAL || state == OVERVIEW)
|
boolean visible = (state == NORMAL || state == OVERVIEW)
|
||||||
&& (willUserBeActive || isUserActive())
|
&& (willUserBeActive || isUserActive())
|
||||||
&& !profile.isVerticalBarLayout()
|
&& !profile.isVerticalBarLayout();
|
||||||
&& profile.isPhone && !profile.isLandscape;
|
|
||||||
UiThreadHelper.runAsyncCommand(this, SET_SHELF_HEIGHT, visible ? 1 : 0,
|
UiThreadHelper.runAsyncCommand(this, SET_SHELF_HEIGHT, visible ? 1 : 0,
|
||||||
profile.hotseatBarSizePx);
|
profile.hotseatBarSizePx);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user