Merge "Fix pause work apps button being higher than normal" into tm-qpr-dev am: e1b66bd1bf

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

Change-Id: I6d6edc1468bedac51e0cbd9ff283fc011fa851e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Brandon Dayauon
2022-11-18 04:33:08 +00:00
committed by Automerger Merge Worker
@@ -154,6 +154,7 @@ public class WorkModeSwitch extends Button implements Insettable, View.OnClickLi
private void updateVisibility() {
clearAnimation();
onApplyWindowInsets(getRootWindowInsets());
if (mWorkEnabled && mOnWorkTab) {
setFlag(FLAG_FADE_ONGOING);
setVisibility(VISIBLE);