Merge "[WorkProfile] Fix Work profile switch synchronization" into sc-dev

This commit is contained in:
Samuel Fufa
2021-05-12 21:12:31 +00:00
committed by Android (Google) Code Review

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);
}
}