From 71ef9683db7f166dfd4410eb0f1331363aaadde3 Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Thu, 29 Jul 2021 12:59:27 -0700 Subject: [PATCH] Fixing hotseat hidden in 3P Launcher Bug: 193539246 Test: Manual Change-Id: I3e756457710f2a3909623c7eeec457319eb6c3b8 --- src/com/android/launcher3/DeviceProfile.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java index b591dcd67e..9b9c77ece9 100644 --- a/src/com/android/launcher3/DeviceProfile.java +++ b/src/com/android/launcher3/DeviceProfile.java @@ -254,7 +254,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.