diff --git a/src/com/android/launcher3/allapps/WorkProfileManager.java b/src/com/android/launcher3/allapps/WorkProfileManager.java index 844392322b..5edd431107 100644 --- a/src/com/android/launcher3/allapps/WorkProfileManager.java +++ b/src/com/android/launcher3/allapps/WorkProfileManager.java @@ -155,7 +155,12 @@ public class WorkProfileManager implements PersonalWorkSlidingTabStrip.OnActiveP mWorkModeSwitch.getResources().getDimensionPixelSize(R.dimen.qsb_widget_height); } if (!mAllApps.mActivityContext.getDeviceProfile().isGestureMode){ - workFabMarginBottom += mAllApps.mActivityContext.getDeviceProfile().getInsets().bottom; + if (mDeviceProfile.isTaskbarPresent){ + workFabMarginBottom += mDeviceProfile.taskbarSize; + } else { + workFabMarginBottom += + mAllApps.mActivityContext.getDeviceProfile().getInsets().bottom; + } } lp.bottomMargin = workFabMarginBottom; int allAppsContainerWidth = mAllApps.getVisibleContainerView().getWidth();