From a020a4bb6544082f639b3a8844157e5cab8b44ec Mon Sep 17 00:00:00 2001 From: Fabian Kozynski Date: Mon, 7 Jun 2021 16:06:27 -0400 Subject: [PATCH] Change date with clock in QS headers The date row is always at the top of the screen, now it's always visible. Instead, fade in the clock as QS is expanded. Test: manual Fixes: 190407498 Change-Id: I2c63fa7750ae2523648f0d8987cb2686a425e1a7 --- .../src/com/android/systemui/qs/QuickStatusBarHeader.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java b/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java index f66872286f90a..17bf4a1808439 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java +++ b/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java @@ -249,10 +249,9 @@ public class QuickStatusBarHeader extends FrameLayout { private void updateAlphaAnimator() { TouchAnimator.Builder builder = new TouchAnimator.Builder() - // The following two views have to be hidden manually, so as not to hide the - // Privacy chip in QQS - .addFloat(mDateView, "alpha", 0, 1) .addFloat(mSecurityHeaderView, "alpha", 0, 1) + // These views appear on expanding down + .addFloat(mClockView, "alpha", 0, 1) .addFloat(mQSCarriers, "alpha", 0, 1) .setListener(new TouchAnimator.ListenerAdapter() { @Override