Moves Search results into a separate RV (take 2).
Bug: 206905515 Test: Manually verified b/230648542 did not resurface. Tested on phone and tablet with and without work profile. Change-Id: If724f635286b9dff2c64255f9ece3568a5cb4ea9
This commit is contained in:
@@ -160,7 +160,7 @@ public class WorkProfileManager implements PersonalWorkSlidingTabStrip.OnActiveP
|
||||
lp.bottomMargin = workFabMarginBottom;
|
||||
int totalScreenWidth = mDeviceProfile.widthPx;
|
||||
int personalWorkTabWidth =
|
||||
mAllApps.mActivityContext.getAppsView().getActiveRecyclerView().getTabWidth();
|
||||
mAllApps.mActivityContext.getAppsView().getFloatingHeaderView().getTabWidth();
|
||||
lp.rightMargin = lp.leftMargin = (totalScreenWidth - personalWorkTabWidth) / 2;
|
||||
if (mWorkModeSwitch.getParent() != mAllApps) {
|
||||
mAllApps.addView(mWorkModeSwitch);
|
||||
|
||||
Reference in New Issue
Block a user