Merge "Change animation of QSBH on keyguard expansion" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
6da648c872
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user