summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Fabian Kozynski <kozynski@google.com> 2021-06-07 16:06:27 -0400
committer Fabian Kozynski <kozynski@google.com> 2021-06-07 16:06:27 -0400
commita020a4bb6544082f639b3a8844157e5cab8b44ec (patch)
treebc0c64cdfbc482e4d99ffabe4ac158d0905ca0b2
parent1e372e67447df15b52a687066a12097fc38e7a60 (diff)
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
-rw-r--r--packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java5
1 files 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 f66872286f90..17bf4a180843 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