Merge "[WorkProfile] Fix Work profile switch synchronization" into sc-dev am: 890240f470

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14520712

Change-Id: I439f3888d478508874570fa63abd1bb82ddfc786
This commit is contained in:
Samuel Fufa
2021-05-12 21:28:30 +00:00
committed by Automerger Merge Worker

View File

@@ -467,7 +467,7 @@ public class AllAppsContainerView extends SpringRelativeLayout implements DragSo
R.layout.work_mode_switch, this, false);
this.addView(mWorkModeSwitch);
mWorkModeSwitch.setInsets(mInsets);
mWorkModeSwitch.post(() -> mAH[AdapterHolder.WORK].applyPadding());
mWorkModeSwitch.post(this::resetWorkProfile);
}
}