diff --git a/src/com/android/launcher3/allapps/AllAppsContainerView.java b/src/com/android/launcher3/allapps/AllAppsContainerView.java index d9c8c96f40..5c9c037a62 100644 --- a/src/com/android/launcher3/allapps/AllAppsContainerView.java +++ b/src/com/android/launcher3/allapps/AllAppsContainerView.java @@ -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); } }