Merge "Fix work toggle button that gets blocked by threeButton nav bar on TABLETS" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
0130315860
@@ -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