summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2021-09-21 12:34:37 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-09-21 12:34:37 +0000
commitb17f8f0e0fb96f28d2a63a3a0bb29c9621890448 (patch)
treecea5f1856c97e0d3766a19e032f01d7df850ff16
parentc82c4b8dcb2b0a44ba5365fea19f956078beb62b (diff)
parent6e72c732a2724ca597f66caab45d8e93ee66df90 (diff)
Merge "Fixing tiles losing subtext in split shade" into sc-v2-dev
-rw-r--r--packages/SystemUI/src/com/android/systemui/qs/QSAnimator.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSAnimator.java b/packages/SystemUI/src/com/android/systemui/qs/QSAnimator.java
index 8659b8b868d4..23c9408f0636 100644
--- a/packages/SystemUI/src/com/android/systemui/qs/QSAnimator.java
+++ b/packages/SystemUI/src/com/android/systemui/qs/QSAnimator.java
@@ -64,7 +64,10 @@ public class QSAnimator implements Callback, PageListener, Listener, OnLayoutCha
// Fade out faster than fade in to finish before QQS hides.
private static final long QQS_FADE_OUT_DURATION = 50L;
-
+ /**
+ * List of all views that will be reset when clearing animation state
+ * see {@link #clearAnimationState()} }
+ */
private final ArrayList<View> mAllViews = new ArrayList<>();
/**
* List of {@link View}s representing Quick Settings that are being animated from the quick QS
@@ -397,6 +400,7 @@ public class QSAnimator implements Callback, PageListener, Listener, OnLayoutCha
tileView.setClipChildren(true);
tileView.setClipToPadding(true);
firstPageBuilder.addFloat(tileView.getSecondaryLabel(), "alpha", 0, 1);
+ mAllViews.add(tileView.getSecondaryLabel());
}
mAllViews.add(tileView);