Merge "Fix work toggle button that gets blocked by threeButton nav bar on TABLETS" into tm-qpr-dev am: 0130315860
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18798069 Change-Id: Ib1482fa6035b1701e4444b896797799d758dd653 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user