Merge "Change animation of QSBH on keyguard expansion" into tm-qpr-dev

This commit is contained in:
Fabian Kozynski
2022-10-03 16:44:03 +00:00
committed by Android (Google) Code Review

View File

@@ -410,9 +410,9 @@ public class QuickStatusBarHeader extends FrameLayout {
// If forceExpanded (we are opening QS from lockscreen), the animators have been set to // If forceExpanded (we are opening QS from lockscreen), the animators have been set to
// position = 1f. // position = 1f.
if (forceExpanded) { if (forceExpanded) {
setTranslationY(panelTranslationY); setAlpha(expansionFraction);
} else { } else {
setTranslationY(0); setAlpha(1);
} }
mKeyguardExpansionFraction = keyguardExpansionFraction; mKeyguardExpansionFraction = keyguardExpansionFraction;