Merge "Fixing hotseat hidden in 3P Launcher" into sc-v2-dev am: eb6391ff8d am: 543d5c511a

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15422854

Change-Id: Iee516fccb11fe8b1ad7d36303a121723964885e2
This commit is contained in:
TreeHugger Robot
2021-07-29 22:26:52 +00:00
committed by Automerger Merge Worker
+2 -1
View File
@@ -257,7 +257,8 @@ public class DeviceProfile {
final Resources res = context.getResources();
hotseatQsbHeight = res.getDimensionPixelSize(R.dimen.qsb_widget_height);
isTaskbarPresent = isTablet && FeatureFlags.ENABLE_TASKBAR.get();
isTaskbarPresent = isTablet && ApiWrapper.TASKBAR_DRAWN_IN_PROCESS
&& FeatureFlags.ENABLE_TASKBAR.get();
if (isTaskbarPresent) {
// Taskbar will be added later, but provides bottom insets that we should subtract
// from availableHeightPx.