diff --git a/src/com/android/launcher3/allapps/AllAppsContainerView.java b/src/com/android/launcher3/allapps/AllAppsContainerView.java index b11b63ed69..63aac53a51 100644 --- a/src/com/android/launcher3/allapps/AllAppsContainerView.java +++ b/src/com/android/launcher3/allapps/AllAppsContainerView.java @@ -439,7 +439,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); } }