diff options
| author | 2022-10-03 17:44:11 +0000 | |
|---|---|---|
| committer | 2022-10-03 17:44:11 +0000 | |
| commit | 7c067f9ee1bb4d8114d6831c2acad8ed72a28a7f (patch) | |
| tree | 135ec38a5fa98084e740adefee0135f9a2bc0cd2 | |
| parent | 3826d3dfaf63935ad79bac8c17bef2eb213f0bfa (diff) | |
| parent | baf3e5d39340ca3f0faecafe5bf70f03da9dc635 (diff) | |
Merge "Change animation of QSBH on keyguard expansion" into tm-qpr-dev am: 6da648c872 am: baf3e5d393
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20065274
Change-Id: Ia8eba8296f7acde765ae506b9f59828d2ae21bfd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java b/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java index 264edb1ec9e4..84d7e65d289b 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java +++ b/packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java @@ -410,9 +410,9 @@ public class QuickStatusBarHeader extends FrameLayout { // If forceExpanded (we are opening QS from lockscreen), the animators have been set to // position = 1f. if (forceExpanded) { - setTranslationY(panelTranslationY); + setAlpha(expansionFraction); } else { - setTranslationY(0); + setAlpha(1); } mKeyguardExpansionFraction = keyguardExpansionFraction; |