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: Ic51f6d4a62f1cc8cd9c8dda20272fb11f5e4e6f4
This commit is contained in:
Samuel Fufa
2021-05-12 21:25:45 +00:00
committed by Automerger Merge Worker
@@ -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);
}
}