[WorkProfile] Fix Work profile switch synchronization

Bug: 185566696
Bug: 185557440
Test: Manual
Change-Id: Ie9c94c6daee233d299aa63dc5bcb258a37c321e4
This commit is contained in:
Samuel Fufa committed 2021-05-12 20:40:20 +00:00
1 parent f94540b28a
commit 9e4a9bc777
1 file changed
+1 -1
@@ -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);
}
}