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

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

Change-Id: I0838156ab6a0f4fef34869f2e62bc03354fb0239
This commit is contained in:
Samuel Fufa
2021-05-12 21:41:33 +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);
}
}