From 0ac28449fa5e0f9d6bbc87900c60974eac8b94fa Mon Sep 17 00:00:00 2001 From: Fabian Kozynski Date: Fri, 3 Sep 2021 15:14:14 -0400 Subject: [PATCH] Fix visibility of VariableDateView Missing setVisibility in animation atStart. That way we make sure that it's always in a visible state before we start expanding. When in keyguard, the expansion is 1 (GONE), but then it'd jump to 0 (missing set to VISIBLE). Test: manual Fixes: 198797641 Change-Id: Ia7d22f37085779b9412ea35333bcdf4a664ef693 --- .../src/com/android/systemui/qs/QuickStatusBarHeader.java | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java b/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java index 19d5fa0ec74fb..d0feb7f3c1a04 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java +++ b/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java @@ -313,6 +313,7 @@ public class QuickStatusBarHeader extends FrameLayout { public void onAnimationAtStart() { super.onAnimationAtStart(); mClockDateView.setFreezeSwitching(false); + mClockDateView.setVisibility(View.VISIBLE); setSeparatorVisibility(mShowClockIconsSeparator); // In QQS we never ignore RSSI. mIconContainer.removeIgnoredSlots(mRssiIgnoredSlots);