Change animation of QSBH on keyguard expansion

Instead of translating, just animate the alpha to appear.

Test: manual in portrait handheld
Bug: 244574445
Change-Id: Ia2576ef6fc7573ac902dd2568a492bcbcbd994dc
This commit is contained in:
Fabian Kozynski
2022-09-27 12:17:48 -04:00
parent e0f07da153
commit ada6282682

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
// position = 1f.
if (forceExpanded) {
setTranslationY(panelTranslationY);
setAlpha(expansionFraction);
} else {
setTranslationY(0);
setAlpha(1);
}
mKeyguardExpansionFraction = keyguardExpansionFraction;